mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024739: TKOpenGl - port ray-tracing from OpenCL to GLSL for better integration and portability
RayTracing - disable reflections by default Fix possible compilation issue on Mac OS X.
This commit is contained in:
@@ -30,10 +30,8 @@ vsetcolorbg 255 255 255
|
||||
vfit
|
||||
|
||||
# set ray tracing
|
||||
if { [regexp {HAVE_OPENCL} [dversion]] } {
|
||||
puts "Trying raytrace mode..."
|
||||
if { ! [catch {vraytrace 1}] } {
|
||||
vtextureenv on 1
|
||||
vsetraytracemode shad=1 refl=1 aa=1
|
||||
}
|
||||
puts "Trying raytrace mode..."
|
||||
if { ! [catch {vraytrace 1}] } {
|
||||
vtextureenv on 1
|
||||
vsetraytracemode shad=1 refl=1 aa=1
|
||||
}
|
||||
|
Reference in New Issue
Block a user