Debian Codegraph @

models/oiv_compliance/packedcolor.iv

raw
1 #Inventor V2.1 ascii
2
3 # Check all aspects of rendering with an SoPackedColor.
4 #
5 # 19990504 mortene
6
7 Separator {
8 # (ROW 0)
9 Separator {
10 PackedColor { orderedRGBA 0xff0000ff }
11 Cube { }
12
13 PackedColor { orderedRGBA 0xff0000ff }
14 Translation { translation +4 0 0 }
15 Cube { }
16
17 PackedColor { orderedRGBA 0x00ff00ff }
18 Translation { translation +4 0 0 }
19 Cube { }
20
21 PackedColor { orderedRGBA 0x0000ffff }
22 Translation { translation +4 0 0 }
23 Cube { }
24
25 PackedColor { orderedRGBA 0xffff0080 }
26 Translation { translation +4 0 0 }
27 Cube { }
28
29 PackedColor { orderedRGBA 0xffff0020 }
30 Translation { translation +4 0 0 }
31 Cube { }
32
33 # check that the ignored flag is heeded.
34 PackedColor { orderedRGBA 0xccccccff ~ }
35 Translation { translation +4 0 0 }
36 Cube { }
37
38 # check that only the diffuse color will be replaced.
39 Material {
40 ambientColor 0.2 0.0 0.0
41 diffuseColor 0.8 0.0 0.0
42 specularColor 0.8 0 0
43 emissiveColor 0.8 0 0
44 shininess 0.9
45 transparency 0.5
46 }
47 Translation { translation +4 0 0 }
48 PackedColor { orderedRGBA 0x0000ffff }
49 Cube { }
50 }
51 }