Anonymous | Login | 2021-03-07 09:15 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
occt: master cdc54fb0 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
kgv | bugmaster | master | 2020-07-03 16:48:57 | master 6d1d35e4 |
Affected Issues | 0031649: Visualization, TKOpenGL - broken skybox in VR output | |||
Changeset | 0031649: Visualization, TKOpenGL - broken skybox in VR output OpenGl_ShaderManager::GetBgCubeMapProgram() and OpenGl_BackgroundArray::createCubeMapArray() have been corrected to draw cube in straightforward way instead of a screen-quad. Graphic3d_Camera::SetCustomStereoProjection() now recieves decomposed projection + head-to-eye matrices. Added method Graphic3d_Camera::StereoProjection() returning projection matrix without translation part. OpenGl_BackgroundArray::Render() now applies stereoscopic projection matrix in case of VR output, but keeps using mono projection matrix in case of common 3D displays. |
|||
mod - src/Graphic3d/Graphic3d_Camera.cxx | [ Diff ] [ File ] | |||
mod - src/Graphic3d/Graphic3d_Camera.hxx | [ Diff ] [ File ] | |||
mod - src/Graphic3d/Graphic3d_CView.cxx | [ Diff ] [ File ] | |||
mod - src/OpenGl/OpenGl_BackgroundArray.cxx | [ Diff ] [ File ] | |||
mod - src/OpenGl/OpenGl_BackgroundArray.hxx | [ Diff ] [ File ] | |||
mod - src/OpenGl/OpenGl_ShaderManager.cxx | [ Diff ] [ File ] | |||
mod - src/OpenGl/OpenGl_View.hxx | [ Diff ] [ File ] | |||
mod - src/OpenGl/OpenGl_View_Redraw.cxx | [ Diff ] [ File ] |
Copyright © 2000 - 2021 MantisBT Team |