1 puts "=================================================================================="
2 puts "0030630: Visualization - wrong visualization of shape with mirrored transformation"
3 puts "Check that displaying of non-solid shapes (shells) is not affected by mirror transformation"
4 puts "=================================================================================="
6 pload MODELING VISUALIZATION
17 vdisplay -dispMode 1 b
18 vaspects b -setBackFaceColor RED
20 vdump $imagedir/${casename}_simple.png
23 # Box with mirror transformation
28 vdisplay -dispMode 1 a
29 vaspects a -setBackFaceColor RED
31 box aa -0.5 0.5 0.5 0.1 0.1 0.1
32 vdisplay -dispMode 1 aa
34 vdump $imagedir/${casename}_mirror.png
35 if { [vreadpixel 300 200 rgb name] != "RED2" } { puts "Error: shell of mirrored box should show back faces" }
38 # Box with mirror transformation and reversed face
44 vdisplay -dispMode 1 c
45 vaspects c -setBackFaceColor RED
47 vdump $imagedir/${casename}_mirrev.png
48 if { [vreadpixel 300 200 rgb name] == "RED2" } { puts "Error: shell of reversed mirrored box should show front faces" }