mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
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.
17 lines
257 B
Plaintext
17 lines
257 B
Plaintext
restore [locate_data_file occ/fuse.brep] f
|
|
|
|
vcaps -ffp 1
|
|
vclear
|
|
vclose ALL
|
|
vinit View1
|
|
vclear
|
|
vsetdispmode 0
|
|
vaxo
|
|
vdisplay f
|
|
vaspects f -setLineType dotDash
|
|
vfit
|
|
vdump $::imagedir/${::casename}_ffp.png
|
|
|
|
vcaps -ffp 0
|
|
vdump $::imagedir/${::casename}_glsl.png
|