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
18101810 bool showDebugDetails = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings);
18111811 PerformanceWarning warn(showDebugDetails, "hideOutOfView()", showDebugDetails);
18121812 bool widenFrustum = true;
1813− bool wantDeltaFrustums = Menu::getInstance()->isOptionChecked(MenuOption::UseDeltaFrustumInHide);
1813+ bool wantDeltaFrustums = !Menu::getInstance()->isOptionChecked(MenuOption::UseFullFrustumInHide);
18141814 hideOutOfViewArgs args(this, this->_tree, _culledOnce, widenFrustum, wantDeltaFrustums);
18151815
18161816 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