From: <ma...@us...> - 2003-08-21 22:53:57
|
Update of /cvsroot/jrman/drafts/sampleData In directory sc8-pr-cvs1:/tmp/cvs-serv8189/sampleData Modified Files: shadowTest.rib Log Message: Improved shadows implementation Index: shadowTest.rib =================================================================== RCS file: /cvsroot/jrman/drafts/sampleData/shadowTest.rib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shadowTest.rib 20 Aug 2003 20:41:22 -0000 1.1 --- shadowTest.rib 21 Aug 2003 22:53:47 -0000 1.2 *************** *** 3,7 **** PixelSamples 1 1 Projection "orthographic" ! ScreenWindow -1.2 4.5 -4.5 1.2 Clipping 7 13 Translate 0 0 10 --- 3,7 ---- PixelSamples 1 1 Projection "orthographic" ! ScreenWindow -1.35 4.5 -4.5 1.35 Clipping 7 13 Translate 0 0 10 *************** *** 27,30 **** --- 27,32 ---- Declare "shadowmap" "string" Declare "bias" "uniform float" + Declare "samples" "uniform float" + Declare "blur" "uniform float" Format 800 600 1 Display "shadowTest" "framebuffer" "rgba" *************** *** 37,44 **** --- 39,48 ---- "from" [1 1 0] "to" [0 0 0] "shadowmap" "shadowTest.shdw" "bias" .1 + "samples" 64 "blur" 5 LightSource "ambientlight" 2 "intensity" .1 Rotate -10 1 0 0 Translate 0 0 10 WorldBegin + ShadingRate .25 Surface "plastic" AttributeBegin |