occt: master 7c697026

Author Committer Branch Timestamp Parent
kgv bugmaster master 2017-09-01 14:45:49 master 93986ca2
Affected Issues  0029074: Visualization, TKOpenGl - support Geometry Shader definition
Changeset 0029074: Visualization, TKOpenGl - support Geometry Shader definition

Graphic3d_TypeOfShaderObject enumeration has been extended by Geometry shader object type.
OpenGl_ShaderProgram::Initialize() processes new shader object types when supported by OpenGL version.
Declarations.glsl has been fixed so that occFragColor is defined only for
Fragment Shader object only (by handling new FRAGMENT_SHADER macros).

Improved documentation of Graphic3d_ArrayOfPrimitives class.

vshader Draw Harness command has been extended to support definition
of Shader Object types other than Vertex and Fragment shader.
mod - src/Graphic3d/FILES Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfPoints.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPoints.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfPolygons.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPolygons.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfPolylines.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPolylines.hxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPrimitives.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPrimitives.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfQuadrangles.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfQuadrangles.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfQuadrangleStrips.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfQuadrangleStrips.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfSegments.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfSegments.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfTriangleFans.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfTriangleFans.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfTriangles.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfTriangles.hxx Diff File
rm - src/Graphic3d/Graphic3d_ArrayOfTriangleStrips.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfTriangleStrips.hxx Diff File
mod - src/Graphic3d/Graphic3d_TypeOfPrimitiveArray.hxx Diff File
mod - src/Graphic3d/Graphic3d_TypeOfShaderObject.hxx Diff File
mod - src/OpenGl/OpenGl_CappingAlgo.cxx Diff File
mod - src/OpenGl/OpenGl_GlFunctions.hxx Diff File
mod - src/OpenGl/OpenGl_LayerList.cxx Diff File
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx Diff File
mod - src/OpenGl/OpenGl_PrimitiveArray.hxx Diff File
mod - src/OpenGl/OpenGl_ShaderProgram.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderProgram.hxx Diff File
mod - src/Prs3d/Prs3d_Drawer.cxx Diff File
mod - src/Prs3d/Prs3d_Drawer.hxx Diff File
mod - src/Shaders/Declarations.glsl Diff File
mod - src/Shaders/Shaders_Declarations_glsl.pxx Diff File
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff File
rm - tests/v3d/glsl/begin Diff File
add - tests/v3d/glsl/geom1 Diff File
mod - tests/v3d/glsl/gouraud_dir1 Diff File
mod - tests/v3d/glsl/gouraud_dir2 Diff File
mod - tests/v3d/glsl/gouraud_pos1 Diff File
mod - tests/v3d/glsl/gouraud_spot1 Diff File
mod - tests/v3d/glsl/light_off Diff File
mod - tests/v3d/glsl/phong_box Diff File
mod - tests/v3d/glsl/phong_couple Diff File
mod - tests/v3d/glsl/phong_dir1 Diff File
mod - tests/v3d/glsl/phong_dir2 Diff File
mod - tests/v3d/glsl/phong_fuse Diff File
mod - tests/v3d/glsl/phong_fuse2 Diff File
mod - tests/v3d/glsl/phong_plastic Diff File
mod - tests/v3d/glsl/phong_pos1 Diff File
mod - tests/v3d/glsl/phong_sides Diff File
mod - tests/v3d/glsl/phong_spot1 Diff File
mod - tests/v3d/glsl/phong_views Diff File
mod - tests/v3d/glsl/rendscale Diff File
mod - tests/v3d/glsl/stereo Diff File
mod - tests/v3d/glsl/stipple_line Diff File
add - tests/v3d/glsl/tess1 Diff File
mod - tests/v3d/glsl/texture_multi1 Diff File
mod - tests/v3d/glsl/texture_trsf Diff File
mod - tests/v3d/glsl/tiles Diff File