Archive for May 16th, 2005

rman curves

Option “searchpath” “shader” “@:”
Option “searchpath” “texture” “”

Display “untitled” “it” “rgb”
Format 427 240 1
Projection “perspective” “fov” 40
ShadingRate 1

LightSource “distantlight” 1 “intensity” 1.5 “from” [0 0 0] “to” [0 0 1]

Translate 0 0 5
Rotate -30 1 0 0
Rotate 0 0 1 0
Scale 1 1 -1

WorldBegin
ReverseOrientation
LightSource “pointlight” 1 “intensity” 25 “from” [1 4 1]

TransformBegin
Surface “plastic”
# these are loacted in the rman tolls under patched and primities
Basis “b-spline” 1 “b-spline” 1
# open curvs are nonperiodic , closed curves are periodic
Curves “cubic” [4] “nonperiodic”
# next the CV’s which represent XYZ.
“P” [-0.75 0 0.5 -0.45 0 1 0.5 0 0 0.75 0 1]
“constantwidth” [0.005]
“Cs” [0 1 0 0 1 0]

TransformEnd
WorldEnd

_______________________________________________________________________________________

http://fundza.com/rman_helper/ri_curves_basics/index.html

_________________________________________________________________________________________