aCtx->arbFBO->glBindFramebuffer (GL_FRAMEBUFFER, 0);
}
+ // Reset OpenGl aspects state to default to avoid enabling of
+ // backface culling which is not supported in ray-tracing.
+ myWorkspace->ResetAppliedAspect();
+
// Ray-tracing polygonal primitive arrays
raytrace (aSizeX, aSizeY, theProjection, theReadDrawFbo, aCtx);
--- /dev/null
+puts "========"
+puts "OCC27083"
+puts "========"
+puts ""
+##################################################################
+puts "Visualization, Ray Tracing - shape with visible face boundaries disappears after turning the ray-tracing on"
+##################################################################
+
+pload VISUALIZATION MODELING
+
+box b 1 1 1
+
+vinit
+
+vdisplay b
+vfit
+vsetdispmode 1
+vshowfaceboundary b 1 255 0 0 3
+vraytrace 1
+
+if {[vreadpixel 295 255 name] != "GOLDENROD4 0"} {
+ puts "ERROR: the box with boundary aspect set is not shown in ray-tracing mode!"
+}
+
+if {[vreadpixel 105 58 name] != "RED 0"} {
+ puts "ERROR: the box's boundaries are not shown in ray-tracing mode!"
+}
+
+vdump $imagedir/${casename}.png