]> OCCT Git - occt.git/commit
0032606: Visualization - add a shader for sky V3d_View::BackgroundSkydome() IR-2021-12-30
authorachesnok <achesnok@opencascade.com>
Thu, 14 Oct 2021 22:50:13 +0000 (01:50 +0300)
committersmoskvin <smoskvin@opencascade.com>
Wed, 29 Dec 2021 21:14:47 +0000 (00:14 +0300)
commit16a263dc17600ac13a5110bd7028ba558d1a0700
treed9e4aa58847f7b66a693003eb259eb763a4e28ac
parent2ac4e1beee073adcde693f9e1d18338db22317c0
0032606: Visualization - add a shader for sky V3d_View::BackgroundSkydome()

Introduced V3d_View::SkydomeAspect() property for generating skydome cubemap environment.
Skydome features: day/night cycle, 2 types of clouds, atmosphere, water surface, stars, fog.
18 files changed:
src/Aspect/Aspect_SkydomeBackground.cxx [new file with mode: 0644]
src/Aspect/Aspect_SkydomeBackground.hxx [new file with mode: 0644]
src/Aspect/FILES
src/Graphic3d/Graphic3d_CView.cxx
src/Graphic3d/Graphic3d_CView.hxx
src/Graphic3d/Graphic3d_ShaderManager.cxx
src/Graphic3d/Graphic3d_ShaderManager.hxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderManager.hxx
src/OpenGl/OpenGl_View.cxx
src/OpenGl/OpenGl_View.hxx
src/Shaders/FILES
src/Shaders/Shaders_SkydomBackground_fs.pxx [new file with mode: 0644]
src/Shaders/SkydomBackground.fs [new file with mode: 0644]
src/V3d/V3d_View.cxx
src/V3d/V3d_View.hxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/opengl/data/background/skydome [new file with mode: 0644]