Debian Codegraph @

models/oiv_compliance/basecolor.iv

raw
1 #Inventor V2.1 ascii
2
3 # Check all aspects of rendering with an SoBaseColor.
4 #
5 # 19990414 mortene
6
7 Separator {
8 # (ROW 0)
9 Separator {
10 Cube { }
11
12 BaseColor { rgb 1 0 0 }
13 Translation { translation +4 0 0 }
14 Cube { }
15
16 # check that the ignored flag is heeded.
17 BaseColor { rgb 0 1 0 ~ }
18 Translation { translation +4 0 0 }
19 Cube { }
20
21 # check that only the diffuse color will be replaced.
22 Material {
23 ambientColor 0.2 0.0 0.0
24 diffuseColor 0.8 0.0 0.0
25 specularColor 0.8 0 0
26 emissiveColor 0.8 0 0
27 shininess 0.9
28 transparency 0.5
29 }
30 Translation { translation +4 0 0 }
31 BaseColor { rgb 0 0 1 }
32 Cube { }
33 }
34 }