occt: master 992ed6b3
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kgv | kgv | master | 2017-11-02 12:36:20 | master 3cbd0a8e |
Changeset | 0029290: Visualization, TKOpenGl - allow defining Light source per ZLayer Graphic3d_CLight is now defined as a class inheriting Standard_Transient, so that it's fields now should be accessed through methods. Graphic3d_CLight::IsEnabled() - new property allowing to disable light source everywhere. Confusing alias OpenGl_Light has been removed. Graphic3d_CLight::SetAttenuation() - the upper limit 1.0 of attenuation factors has been removed since it contradicts to OpenGL specs and does not make sense. Graphic3d_ZLayerSettings::Lights() - light sources list is now property of ZLayer. When defined, it overrides light sources defined for View/Viewer. New class Graphic3d_LightSet has been defined to define a set of light sources. V3d_Light - removed obsolete interface for debug drawing lights sources. V3d_Light is now an alias to Graphic3d_CLight. V3d_TypeOfLight is now defined as a typedef to Graphic3d_TypeOfLightSource. |
|||
mod - dox/dev_guides/upgrade/upgrade.md | Diff File | |||
mod - samples/mfc/occtdemo/Textures/Textures_Presentation.cpp | Diff File | |||
mod - samples/mfc/occtdemo/TexturesExt/TexturesExt_Presentation.cpp | Diff File | |||
mod - samples/mfc/standard/04_Viewer3d/src/TexturesExt_Presentation.cpp | Diff File | |||
mod - samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp | Diff File | |||
mod - samples/tcl/materials.tcl | Diff File | |||
mod - src/Graphic3d/FILES | Diff File | |||
add - src/Graphic3d/Graphic3d_CLight.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_CLight.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_CView.hxx | Diff File | |||
add - src/Graphic3d/Graphic3d_LightSet.cxx | Diff File | |||
add - src/Graphic3d/Graphic3d_LightSet.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_TypeOfLightSource.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_TypeOfShadingModel.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_ZLayerSettings.hxx | Diff File | |||
mod - src/OpenGl/FILES | Diff File | |||
mod - src/OpenGl/OpenGl_Layer.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_LayerList.cxx | Diff File | |||
rm - src/OpenGl/OpenGl_Light.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_SceneGeometry.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_ShaderManager.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_ShaderManager.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_ShaderStates.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_ShaderStates.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View_Raytrace.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_View_Redraw.cxx | Diff File | |||
mod - src/StdPrs/StdPrs_Plane.cxx | Diff File | |||
mod - src/V3d/FILES | Diff File | |||
mod - src/V3d/V3d.cxx | Diff File | |||
mod - src/V3d/V3d.hxx | Diff File | |||
mod - src/V3d/V3d_AmbientLight.cxx | Diff File | |||
mod - src/V3d/V3d_AmbientLight.hxx | Diff File | |||
mod - src/V3d/V3d_DirectionalLight.cxx | Diff File | |||
mod - src/V3d/V3d_DirectionalLight.hxx | Diff File | |||
rm - src/V3d/V3d_Light.cxx | Diff File | |||
mod - src/V3d/V3d_Light.hxx | Diff File | |||
mod - src/V3d/V3d_ListOfLight.hxx | Diff File | |||
mod - src/V3d/V3d_PositionalLight.cxx | Diff File | |||
mod - src/V3d/V3d_PositionalLight.hxx | Diff File | |||
mod - src/V3d/V3d_PositionLight.cxx | Diff File | |||
mod - src/V3d/V3d_PositionLight.hxx | Diff File | |||
mod - src/V3d/V3d_SpotLight.cxx | Diff File | |||
mod - src/V3d/V3d_SpotLight.hxx | Diff File | |||
mod - src/V3d/V3d_TypeOfLight.hxx | Diff File | |||
mod - src/V3d/V3d_View.cxx | Diff File | |||
mod - src/V3d/V3d_View.hxx | Diff File | |||
mod - src/V3d/V3d_Viewer.cxx | Diff File | |||
mod - src/V3d/V3d_Viewer.hxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File | |||
mod - tests/v3d/glsl/phong_pos1 | Diff File | |||
add - tests/v3d/glsl/phong_pos3 | Diff File | |||
add - tests/v3d/glsl/phong_pos4 | Diff File | |||
mod - tests/v3d/materials/bug24855 | Diff File | |||
mod - tests/v3d/raytrace/bug24130 | Diff File | |||
mod - tests/v3d/raytrace/bug24819 | Diff File | |||
mod - tests/v3d/raytrace/bug25201 | Diff File | |||
mod - tests/v3d/raytrace/bug26617 | Diff File | |||
mod - tests/v3d/raytrace/refraction | Diff File | |||
mod - tests/v3d/raytrace/textures | Diff File |