|
Option "searchpath" "shader" "@:../shaders"
Option "searchpath" "texture" "../textures"
Option "searchpath" "archive" "../archives:Cutter_Help/templates/Rib:custom_templates/Rib"
DisplayChannel "point P"
DisplayChannel "normal N"
DisplayChannel "float s"
DisplayChannel "float t"
FrameBegin 1 #__BAKE PASS ___________________________________________________
Display "untitled" "it" "rgb"
Format 427 240 1
Projection "perspective" "fov" 20
ShadingRate 1
Translate 0 0 2
Rotate -30 1 0 0
Rotate 0 0 1 0
Scale 1 1 -1
WorldBegin
Attribute "cull" "hidden" 0 # don't cull hidden surfaces
Attribute "cull" "backfacing" 0 # don't cull backfacing surfaces
Attribute "dice" "rasterorient" 0 # view-independent dicing
Surface "bake_pill" "bakename" ["pill_shell.ptc"]
AttributeBegin
ReadArchive "/home/cleong20/Desktop/vsfx419/archives/Pill_shell.rib"
AttributeEnd
AttributeBegin
# ReadArchive "/home/cleong20/Desktop/vsfx419/archives/Pills_palets.rib"
AttributeEnd
WorldEnd
# System "brickmake ./pill_palets.ptc ./pill_palets.bkm"
# pill_outside.bkm
FrameEnd
FrameBegin 2 #__BEAUTY PASS ___________________________________________________
Display "untitled" "it" "rgb"
Format 360 240 1
Projection "perspective" "fov" 20
ShadingRate 1
#LightSource "distantlight" 1 "intensity" 1.5 "from" [0 0 0] "to" [0 0 1]
Translate 0 -0.5 5
Rotate -25 1 0 0
Rotate 0 0 1 0
Scale 1 1 -1
WorldBegin
LightSource "shadowdistant" 1 "intensity" 2
"from" [3 5 1] "to" [0 0 0]
"shadowname" ["raytrace"]
"samples" 16
"width" 8.0
Attribute "visibility" "trace" [1]
Attribute "shade" "transmissionhitmode" ["primitive"]
Attribute "visibility" "int transmission" [1]
# If your renderer does not support the previous two
# statements remove them and uncomment the next line.
#The options to transmissions are "opaque", "Os", "shader"
# Attribute "visibility" "string transmission" ["opaque"]
LightSource "pointlight" 1 "intensity" 15 "from" [-5 0 1] "to" [ -1 0 0]
LightSource "pointlight" 1 "intensity" 15 "from" [0 0 5]
#AttributeBegin
#Surface "granules"
#Geometry "brickmap" "filename" ["./pill_pale.bkm"]
#AttributeEnd
AttributeBegin
Surface "pill_plastic"
"hilitecolor" [1.0 1.0 0.8]
"opac" 0.5
"C1" [ 1 0 0]
"C2" [ 0 0 1]
"blend" [0.5 ]
Translate 0 0 0
Scale 1 1 1
#ReadArchive "/home/cleong20/Desktop/vsfx419/archives/Pills.rib"
Geometry "brickmap" "filename" ["./pill_shell.bkm"]
AttributeEnd
AttributeBegin
Surface "Anist_pill"
"hilitecolor" [1.0 1.0 0.8]
"opac" 0.5
"C1" [ 1 1 0]
"C2" [ 0 0 1]
"blend" [0.5 ]
Translate 0.5 0 -4
Scale 1 1 1
#ReadArchive "/home/cleong20/Desktop/vsfx419/archives/Pills.rib"
Geometry "brickmap" "filename" ["./pill_shell.bkm"]
AttributeEnd
AttributeBegin
Surface "pill_plastic"
"hilitecolor" [1.0 1.0 0.8]
"opac" 0.5
"C1" [ 1 1 0]
"C2" [ 0 0 1]
"blend" [0.5 ]
Translate 0.8 0 -2
Scale 1 1 1
#ReadArchive "/home/cleong20/Desktop/vsfx419/archives/Pills.rib"
Geometry "brickmap" "filename" ["./pill_shell.bkm"]
AttributeEnd
AttributeBegin
Surface "granules"
Scale 20 20 20
Polygon "P" [-0.5 0 -0.5 -0.5 0 0.5 0.5 0 0.5 0.5 0 -0.5]
"st" [0 0 0 1 1 1 1 0]
AttributeEnd
WorldEnd
FrameEnd
|