0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / tests / v3d / end
CommitLineData
404c8936 1if { [info exists subgroup] && $subgroup != "motion" && $subgroup != "ivtk" && $subgroup != "dimensions" } {
1beb58d7 2 catch { vfit }
3}
bf02aa7d 4if { [info exists subgroup] && $subgroup == "raytrace" } {
5
6 # dump final image for raytraced visualization tests
7 if { ![info exists to_dump_screen] || $to_dump_screen == 1 } {
8 catch { set render_parameters [vrenderparams] }
9 catch { set stereo_parameters [vstereo] }
10
11 # for global illumination mode accumulate frames before dumping
12 regexp {renderMode *: *([A-Za-z]+)} $render_parameters full renderMode
13 regexp {GI *: *([A-Za-z]+)} $render_parameters full gi_enabled
14 if { [string equal -nocase "raytrace" $renderMode] && [string equal -nocase "on" $gi_enabled] } {
15 vfps 200
16 }
17
18 set dump_options {}
19 regexp {Stereo *([A-Za-z]+)} $stereo_parameters full stereo_enabled
20 regexp {Mode *([A-Za-z]+)} $stereo_parameters full stereo_mode
21 if { [string equal -nocase "on" $stereo_enabled] } {
22 set dump_options {-stereo blend}
23 }
24
25 if { [ catch { vdump $imagedir/${test_image}.png {*}$dump_options } catch_result ] } {
26 puts $catch_result
27 }
28 }
404c8936 29} elseif { [info exists subgroup] && $subgroup == "dimensions" } {
30 # skip these test cases.
bf02aa7d 31} elseif { ![info exists subgroup] || $subgroup != "mesh" } {
32
33 # dump final image for common visualization tests
709e97a0 34 if { ![info exists to_dump_screen] && [ catch { vdump $imagedir/${test_image}.png } catch_result ] } {
35 puts $catch_result
36 }
474be6cd 37}
392ac980 38catch { vglinfo }
474be6cd 39
474be6cd 40puts "TEST COMPLETED"