History

make use delta frustum in culling the default behavior

ZappoMan committed 13 years ago

Commit 17860491 parent 370fe3d3 files · +6 −6Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 3 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -1810,7 +1810,7 @@ void VoxelSystem::hideOutOfView() { · 1809 unmodified lines
1810 bool showDebugDetails = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings);1810 bool showDebugDetails = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings);
1811 PerformanceWarning warn(showDebugDetails, "hideOutOfView()", showDebugDetails);1811 PerformanceWarning warn(showDebugDetails, "hideOutOfView()", showDebugDetails);
1812 bool widenFrustum = true;1812 bool widenFrustum = true;
1813 bool wantDeltaFrustums = Menu::getInstance()->isOptionChecked(MenuOption::UseDeltaFrustumInHide);1813 bool wantDeltaFrustums = !Menu::getInstance()->isOptionChecked(MenuOption::UseFullFrustumInHide);
1814 hideOutOfViewArgs args(this, this->_tree, _culledOnce, widenFrustum, wantDeltaFrustums);1814 hideOutOfViewArgs args(this, this->_tree, _culledOnce, widenFrustum, wantDeltaFrustums);
1815 1815
1816 const bool wantViewFrustumDebugging = false; // change to true for additional debugging1816 const bool wantViewFrustumDebugging = false; // change to true for additional debugging

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t