| 1 |
#Inventor V2.1 ascii |
| 2 |
|
| 3 |
# Check all aspects of rendering with SoMaterial nodes. |
| 4 |
# |
| 5 |
# 19990504 mortene |
| 6 |
|
| 7 |
Separator { |
| 8 |
# (ROW 0) Test material components |
| 9 |
Separator { |
| 10 |
Cube { } |
| 11 |
|
| 12 |
Translation { translation +4 0 0 } |
| 13 |
Material { ambientColor 0 0 0 } |
| 14 |
Cube { } |
| 15 |
|
| 16 |
Translation { translation +4 0 0 } |
| 17 |
Material { ambientColor 1 1 1 } |
| 18 |
Cube { } |
| 19 |
|
| 20 |
Translation { translation +4 0 0 } |
| 21 |
Material { diffuseColor 0 0 0 } |
| 22 |
Cube { } |
| 23 |
|
| 24 |
Translation { translation +4 0 0 } |
| 25 |
Material { diffuseColor 1 1 1 } |
| 26 |
Cube { } |
| 27 |
|
| 28 |
Translation { translation +4 0 0 } |
| 29 |
Material { specularColor 0.5 0 0.5 } |
| 30 |
Cube { } |
| 31 |
|
| 32 |
Translation { translation +4 0 0 } |
| 33 |
Material { specularColor 1 1 1 } |
| 34 |
Cube { } |
| 35 |
|
| 36 |
Translation { translation +4 0 0 } |
| 37 |
Material { emissiveColor 0.5 0 0 } |
| 38 |
Cube { } |
| 39 |
|
| 40 |
Translation { translation +4 0 0 } |
| 41 |
Material { emissiveColor 1 1 1 } |
| 42 |
Cube { } |
| 43 |
|
| 44 |
Translation { translation +4 0 0 } |
| 45 |
Material { shininess 0 } |
| 46 |
Cube { } |
| 47 |
|
| 48 |
Translation { translation +4 0 0 } |
| 49 |
Material { shininess 1 } |
| 50 |
Cube { } |
| 51 |
} |
| 52 |
|
| 53 |
# (ROW 1) Test with different transparency settings |
| 54 |
Translation { translation 0 +4 0 } |
| 55 |
Separator { |
| 56 |
Material { transparency 0.1 } |
| 57 |
Cube { } |
| 58 |
|
| 59 |
Translation { translation +4 0 0 } |
| 60 |
Material { transparency 0.2 } |
| 61 |
Cube { } |
| 62 |
|
| 63 |
Translation { translation +4 0 0 } |
| 64 |
Material { transparency 0.3 } |
| 65 |
Cube { } |
| 66 |
|
| 67 |
Translation { translation +4 0 0 } |
| 68 |
Material { transparency 0.4 } |
| 69 |
Cube { } |
| 70 |
|
| 71 |
Translation { translation +4 0 0 } |
| 72 |
Material { transparency 0.5 } |
| 73 |
Cube { } |
| 74 |
|
| 75 |
Translation { translation +4 0 0 } |
| 76 |
Material { transparency 0.6 } |
| 77 |
Cube { } |
| 78 |
|
| 79 |
Translation { translation +4 0 0 } |
| 80 |
Material { transparency 0.7 } |
| 81 |
Cube { } |
| 82 |
|
| 83 |
Translation { translation +4 0 0 } |
| 84 |
Material { transparency 0.8 } |
| 85 |
Cube { } |
| 86 |
|
| 87 |
Translation { translation +4 0 0 } |
| 88 |
Material { transparency 0.9 } |
| 89 |
Cube { } |
| 90 |
|
| 91 |
Translation { translation +4 0 0 } |
| 92 |
Material { transparency 1.0 } |
| 93 |
Cube { } |
| 94 |
} |
| 95 |
|
| 96 |
|
| 97 |
# (ROW 2) Test ignore flags |
| 98 |
Translation { translation 0 +4 0 } |
| 99 |
Separator { |
| 100 |
Material { |
| 101 |
ambientColor 0.0 0.0 0.0 |
| 102 |
diffuseColor 0.0 0.0 0.0 |
| 103 |
specularColor 0.0 0.0 0.0 |
| 104 |
emissiveColor 0.0 0.0 0.0 |
| 105 |
shininess 1.0 |
| 106 |
transparency 0 |
| 107 |
} |
| 108 |
Cube { } |
| 109 |
|
| 110 |
Material { ambientColor 1 1 1 ~ } |
| 111 |
Cube { } |
| 112 |
|
| 113 |
Translation { translation +4 0 0 } |
| 114 |
Material { diffuseColor 1 1 1 ~ } |
| 115 |
Cube { } |
| 116 |
|
| 117 |
Translation { translation +4 0 0 } |
| 118 |
Material { specularColor 1 1 1 ~ } |
| 119 |
Cube { } |
| 120 |
|
| 121 |
Translation { translation +4 0 0 } |
| 122 |
Material { emissiveColor 1 1 1 ~ } |
| 123 |
Cube { } |
| 124 |
|
| 125 |
Translation { translation +4 0 0 } |
| 126 |
Material { shininess 0 ~ } |
| 127 |
Cube { } |
| 128 |
|
| 129 |
Translation { translation +4 0 0 } |
| 130 |
Material { transparency 1 ~ } |
| 131 |
Cube { } |
| 132 |
} |
| 133 |
} |