X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=samples%2Ftcl%2Fpathtrace_cube.tcl;h=1ef1b248cb805068abc11a98081938ea3fdf0fdb;hb=dbc8becff4311dca8a7269e33a6084d42b4f2e70;hpb=99ee8f1a83f3e29af4fa149bd95e48001e0d86c8 diff --git a/samples/tcl/pathtrace_cube.tcl b/samples/tcl/pathtrace_cube.tcl index ef6e0a22ab..1ef1b248cb 100644 --- a/samples/tcl/pathtrace_cube.tcl +++ b/samples/tcl/pathtrace_cube.tcl @@ -54,16 +54,14 @@ vbsdf s -absorpCoeff 6 # setup first inner box box c 0.3 0.3 0.2 vdisplay -noupdate c -vlocation -noupdate c -setLocation 0.55 0.3 0.0 -vlocation -noupdate c -rotate 0 0 0 0 0 1 -30 +vlocation -noupdate c -reset -rotate 0 0 0 0 0 1 -30 -translate 0.55 0.3 0.0 vsetmaterial -noupdate c plastic vbsdf c -kd 1.0 0.8 0.2 -ks 0.3 -n # setup second inner box box g 0.15 0.15 0.3 vdisplay -noupdate g -vlocation -noupdate g -setLocation 0.7 0.25 0.2 -vlocation -noupdate g -rotate 0 0 0 0 0 1 10 +vlocation -noupdate g -reset -rotate 0 0 0 0 0 1 10 -translate 0.7 0.25 0.2 vsetmaterial -noupdate g glass vbsdf g -absorpColor 0.8 1.0 0.8 vbsdf g -absorpCoeff 6