OpenGl_Context::ApplyWorldViewMatrix() - reset ModelWorld matrix to identity for consistency with FFP.
namespace
{
static const Handle(OpenGl_Resource) NULL_GL_RESOURCE;
+ static const OpenGl_Mat4 THE_IDENTITY_MATRIX;
}
// =======================================================================
if (!myShaderManager->IsEmpty())
{
+ myShaderManager->UpdateModelWorldStateTo (THE_IDENTITY_MATRIX);
myShaderManager->UpdateWorldViewStateTo (WorldViewState.Current());
}
}
set BugNumber OCC22368
-# enable FFP until bug-fix for GLSL
-vcaps -ffp 1
-
-vinit
+vclear
+vinit View1
vtrihedron trihedron
OCC74_set trihedron 3
vselect ${x3} ${y}
-set new_x 100
-set new_y 100
-set new_z 100
-
-vsetlocation trihedron ${new_x} ${new_y} ${new_z}
+vsetlocation trihedron 100 100 100
set status 0
for {set i ${x1} } {$i <= ${x2} } {incr i} {