mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:30:42 +02:00
Let's try not using the "augmented" data, since we don't need it.
This commit is contained in:
parent
dafa44570a
commit
a16b54a34a
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ void MetavoxelSystem::simulate(float deltaTime) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SimulateVisitor simulateVisitor(deltaTime, getLOD());
|
SimulateVisitor simulateVisitor(deltaTime, getLOD());
|
||||||
guideToAugmented(simulateVisitor);
|
guide(simulateVisitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
class RenderVisitor : public MetavoxelVisitor {
|
class RenderVisitor : public MetavoxelVisitor {
|
||||||
|
@ -199,7 +199,7 @@ void MetavoxelSystem::render() {
|
||||||
viewFrustum->getNearBottomLeft(), viewFrustum->getNearBottomRight());
|
viewFrustum->getNearBottomLeft(), viewFrustum->getNearBottomRight());
|
||||||
|
|
||||||
RenderVisitor renderVisitor(getLOD());
|
RenderVisitor renderVisitor(getLOD());
|
||||||
guideToAugmented(renderVisitor, true);
|
guide(renderVisitor);
|
||||||
|
|
||||||
if (!_heightfieldBaseBatches.isEmpty() && Menu::getInstance()->isOptionChecked(MenuOption::RenderHeightfields)) {
|
if (!_heightfieldBaseBatches.isEmpty() && Menu::getInstance()->isOptionChecked(MenuOption::RenderHeightfields)) {
|
||||||
glEnableClientState(GL_VERTEX_ARRAY);
|
glEnableClientState(GL_VERTEX_ARRAY);
|
||||||
|
|
Loading…
Reference in a new issue