From: Gerardo H. <ma...@us...> - 2007-02-19 05:00:23
|
Update of /cvsroot/jrman/drafts/sampleData In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12842 Modified Files: headus.com-killeroo.rib Log Message: Ttrying to make Killeroo image more interesting. Index: headus.com-killeroo.rib =================================================================== RCS file: /cvsroot/jrman/drafts/sampleData/headus.com-killeroo.rib,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** headus.com-killeroo.rib 17 Feb 2007 03:50:26 -0000 1.7 --- headus.com-killeroo.rib 19 Feb 2007 05:00:12 -0000 1.8 *************** *** 93,115 **** MakeTexture "killeroo-textures/pat330_0.52.jpg" "killeroo-textures/pat330_0.52.txr" "clamp" "clamp" "gaussian" 2 2 - #Option "searchpath" "shader" ["&:/usr/staff/revel/architec/products/headus/lib/shaders"] FrameBegin 1 Display "killeroo" "framebuffer" "rgba" PixelSamples 8 8 ! Exposure 1 1.8 #Imager "background" "background" [ 1.0 1.0 1.0 ] ! Format 796 515 1 Projection "perspective" "fov" [ 17 ] - LightSource "distantlight" 1 "intensity" 0.8 "from" [0 1 0] "to" [0 0 0] - LightSource "ambientlight" 2 "intensity" 0.2 Rotate 5 0 1 0 Translate 0 10 1000 Rotate -10 1 0 0 Rotate 50 0 1 0 Rotate -90 1 0 0 ! WorldBegin ! #ShadingRate .25 ! Color 0 0 .7 ! Sphere 10000 -10000 10000 360 TransformBegin Translate -400 -100 0 --- 93,169 ---- MakeTexture "killeroo-textures/pat330_0.52.jpg" "killeroo-textures/pat330_0.52.txr" "clamp" "clamp" "gaussian" 2 2 FrameBegin 1 + Format 1024 1024 1 + Display "killeroo.shdw" "file" "z" + #Display "killeroo.shdw" "framebuffer" "rgb" + PixelSamples 1 1 + PixelFilter "box" 1 1 + Projection "orthographic" + ScreenWindow -700 300 -200 512 + #LightSource "distantlight" 10 "intensity" 1 + Clipping 4000 8000 + Translate 0 0 5000 + Rotate -35.264389683 0 0 1 + Rotate -45 0 1 0 + WorldBegin + Rotate -10 1 0 0 + Rotate 50 0 1 0 + Rotate -90 1 0 0 + TransformBegin + Translate -400 -100 0 + Rotate -90 0 0 1 + ReadArchive "killeroo-data.rib" + TransformEnd + TransformBegin + Translate -300 150 0 + Rotate -120 0 0 1 + ReadArchive "killeroo-data.rib" + TransformEnd + AttributeBegin + Color 1 1 1 + Translate -100 -100 -99 + Sphere 50 -50 50 360 + AttributeEnd + TransformBegin + Translate -200 -200 -149 + Rotate 90 1 0 0 + Scale 10 10 10 + ReadArchive "grass-data.rib" + TransformEnd + WorldEnd + FrameEnd + + + + Declare "shadowmap" "string" + Declare "bias" "uniform float" + Declare "samples" "uniform float" + Declare "blur" "uniform float" + + FrameBegin 2 + Display "grass.png" "framebuffer" "rgb" + PixelFilter "gaussian" 2 2 Display "killeroo" "framebuffer" "rgba" PixelSamples 8 8 ! Exposure 1 2.2 #Imager "background" "background" [ 1.0 1.0 1.0 ] ! Format 950 614 1 Projection "perspective" "fov" [ 17 ] Rotate 5 0 1 0 Translate 0 10 1000 + LightSource "shadowdistantlight" 1 "from" [-1 1 -1] "to" [0 0 0] + "intensity" [0.7] + "shadowmap" "killeroo.shdw" "bias" 20 "samples" 64 "blur" 8 + LightSource "distantlight" 2 "from" [1 0 -.2] "to" [0 0 0] "intensity" [0.1] "lightcolor" [1 1 1] + WorldBegin + ShadingRate .25 Rotate -10 1 0 0 Rotate 50 0 1 0 Rotate -90 1 0 0 ! AttributeBegin ! Color .8 .8 1 ! #Surface "turbulence" "uniform float noisescale" 20000 "uniform integer noiseoctaves" 5 ! Sphere 5000 -5000 5000 360 ! AttributeEnd TransformBegin Translate -400 -100 0 *************** *** 118,121 **** --- 172,186 ---- TransformEnd TransformBegin + Translate -300 150 0 + Rotate -120 0 0 1 + ReadArchive "killeroo-data.rib" + TransformEnd + AttributeBegin + Surface "Matte" + Color 1 1 1 + Translate -100 -100 -99 + Sphere 50 -50 50 360 + AttributeEnd + TransformBegin Translate -200 -200 -149 Rotate 90 1 0 0 *************** *** 124,126 **** TransformEnd WorldEnd ! FrameEnd --- 189,191 ---- TransformEnd WorldEnd ! FrameEnd \ No newline at end of file |