Debian Codegraph @

models/oiv_compliance/clipplane.iv

raw
1 #Inventor V2.1 ascii
2
3 # Check all aspects of rendering with an SoClipPlane.
4 #
5 # 19990414 mortene
6
7 Separator {
8 # (ROW 0)
9 Separator {
10 Cube { }
11
12 # standard usage.
13 BaseColor { rgb 1 0 0 }
14 Translation { translation +4 0 0 }
15 Separator {
16 ClipPlane { }
17 Cube { }
18 }
19
20 # see that clipping planes work along with separator nodes.
21 BaseColor { rgb 0 1 0 }
22 Translation { translation +4 0 0 }
23 Separator {
24 ClipPlane { plane 1 -1 -1 0 }
25 Cube { }
26 }
27
28 # check with negative "on" field.
29 BaseColor { rgb 0 0 1 }
30 Translation { translation +4 0 0 }
31 Separator {
32 ClipPlane {
33 plane 1 -1 -1 0
34 on FALSE
35 }
36 Cube { }
37 }
38
39 # ignore fields.
40 BaseColor { rgb 1 0 1 }
41 Translation { translation +4 0 0 }
42 Separator {
43 ClipPlane { plane 1 -1 -1 0 ~ }
44 Cube { }
45 }
46
47 # ignore fields.
48 BaseColor { rgb 1 1 0 }
49 Translation { translation +4 0 0 }
50 Separator {
51 ClipPlane { on FALSE ~}
52 Cube { }
53 }
54 }
55 }