History

Simplified camera view history and TAA is now working in all circumstances.

Olivier Prat committed 8 years ago

Commit 4636f431 parent 7432c8314 files · +21 −55Browse files

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

Unified · Split

interface/src/Application_render.cpp+1−3
@@ -81,7 +81,6 @@ void Application::paintGL() { · 80 unmodified lines
81 }81 }
82 82
83 HMDSensorPose = _appRenderArgs._headPose;83 HMDSensorPose = _appRenderArgs._headPose;
84 HMDSensorPrevPose = _appRenderArgs._prevHeadPose;
85 eyeToWorld = _appRenderArgs._eyeToWorld;84 eyeToWorld = _appRenderArgs._eyeToWorld;
86 sensorToWorld = _appRenderArgs._sensorToWorld;85 sensorToWorld = _appRenderArgs._sensorToWorld;
87 isStereo = _appRenderArgs._isStereo;86 isStereo = _appRenderArgs._isStereo;
@@ -93,8 +92,7 @@ void Application::paintGL() { · 5 unmodified lines
93 92
94 {93 {
95 PROFILE_RANGE(render, "/gpuContextReset");94 PROFILE_RANGE(render, "/gpuContextReset");
96 _gpuContext->beginFrame(_appRenderArgs._view, _appRenderArgs._prevView,95 _gpuContext->beginFrame(_appRenderArgs._view, HMDSensorPose);
97 HMDSensorPose, HMDSensorPrevPose);
98 // Reset the gpu::Context Stages96 // Reset the gpu::Context Stages
99 // Back to the default framebuffer;97 // Back to the default framebuffer;
100 gpu::doInBatch("Application_render::gpuContextReset", _gpuContext, [&](gpu::Batch& batch) {98 gpu::doInBatch("Application_render::gpuContextReset", _gpuContext, [&](gpu::Batch& batch) {