Update of /cvsroot/jrman/drafts/sampleData
In directory sc8-pr-cvs1:/tmp/cvs-serv14612/sampleData
Added Files:
shadowTest.rib
Log Message:
First shadows implementation.
--- NEW FILE: shadowTest.rib ---
Format 1024 1024 1
Display "shadowTest.shdw" "file" "z"
PixelSamples 1 1
Projection "orthographic"
ScreenWindow -1.2 4.5 -4.5 1.2
Clipping 7 13
Translate 0 0 10
Rotate 45 0 1 0
Rotate -90 1 0 0
WorldBegin
Surface "constant"
AttributeBegin
Translate 1.5 -3 -1
Rotate -20 0 1 0
Scale .3 .3 .3
ReadArchive "bikeData.rib"
AttributeEnd
AttributeBegin
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Translate -1 -2.5 0
Sphere .5 -.5 .5 360
AttributeEnd
WorldEnd
Declare "shadowmap" "string"
Declare "bias" "uniform float"
Format 800 600 1
Display "shadowTest" "framebuffer" "rgba"
PixelSamples 4 4
Exposure 1 2.2
Projection "perspective" "fov" 40
Clipping .1 1000
ScreenWindow -1.33 1.33 -1 1
LightSource "shadowdistantlight" 1 "intensity" .9
"from" [1 1 0] "to" [0 0 0]
"shadowmap" "shadowTest.shdw" "bias" .1
LightSource "ambientlight" 2 "intensity" .1
Rotate -10 1 0 0
Translate 0 0 10
WorldBegin
Surface "plastic"
AttributeBegin
Translate 1.5 -3 -1
Rotate -20 0 1 0
Scale .3 .3 .3
ReadArchive "bikeData.rib"
AttributeEnd
AttributeBegin
Color 1 0 0
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 0 1 0
Translate -1 -2.5 0
Sphere .5 -.5 .5 360
AttributeEnd
AttributeBegin
Translate 0 -3 0
Patch "bilinear" "P" [-30 0 -30 -30 0 30 30 0 -30 30 0 30]
AttributeEnd
WorldEnd
|