1
0
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:
dbp
2014-04-04 14:14:02 +04:00
committed by apn
parent 54e37688ef
commit fc73a20256
39 changed files with 2399 additions and 2676 deletions

View File

@@ -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
}