Macで利用するRibfilter、いったりきたりが面倒になってきました。似たようなものがほしいですね。
#sphere_ref.rib
Display "sphere_ref.tif" "framebuffer" "rgb"
Projection "perspective" "fov" 20
Format 320 240 1
Imager "background" "color background" [0.2 0.4 0.6]
# placecam 10 5 -10 0 0 0
Rotate -19.47 1.00 0.00 0.00
Rotate 45.00 0.00 1.00 0.00
Translate -10.00 -5.00 10.00
WorldBegin
LightSource "ambientlight" 1 "intensity" 0.2
LightSource "pointlight" 2 "from" [ 10 10 -10] "intensity" 250
LightSource "pointlight" 3 "from" [ -10 10 -10] "intensity" 250
AttributeBegin
Attribute "identifier" "name" ["dome"]
Color [0.2773 0.2855 0.6679]
Opacity [1 1 1]
Surface "matte"
Sphere 40 -40 40 360
AttributeEnd
AttributeBegin
Attribute "identifier" "name" ["_EV_n1_s1.0"]
Translate 0 0 0
Color 0.921875 0.796875 0.91796875
Surface "shinymetal" "string texturename" [""]
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Translate 3 0 0
Color 1 1 0
Surface "plastic"
Sphere 0.8 -1 1 360
AttributeEnd
AttributeBegin
Attribute "identifier" "name" ["_EV_n2_s1.0"]
Translate 0 0 3
Color [0.9 0.7 0.4]
Surface "shinymetal" "string texturename" [""]
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Translate 0 0 0
Surface "plastic"
Color 0 0 1 #blue
Cylinder 0.1 -100 100 360 # Z axis
Color 0 1 0 #green
Rotate 90 1 0 0
Cylinder 0.1 -100 100 360 # Y axis
Color 1 0 0 #red
Rotate 90 0 1 0
Cylinder 0.1 -100 100 360 # X axis
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 0 -1.5 0
Scale 5 5 5
Surface "matte"
Polygon "P" [-4 0 -4 -4 0 4 4 0 4 4 0 -4] "st" [0 0 0 1 1 1 1 0]
AttributeEnd
WorldEnd
RenderMan 感謝しています。
- -
- -