From: Gerardo H. <ma...@us...> - 2006-12-25 19:18:08
|
Update of /cvsroot/jrman/drafts/sampleData In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv32215/sampleData Modified Files: curves.rib Added Files: curves2.rib Log Message: Added curves test from http://www.dotcsw.com/poy2005.txt Index: curves.rib =================================================================== RCS file: /cvsroot/jrman/drafts/sampleData/curves.rib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** curves.rib 25 Dec 2006 07:50:36 -0000 1.2 --- curves.rib 25 Dec 2006 19:17:58 -0000 1.3 *************** *** 1,8 **** Display "curves.png" "framebuffer" "rgb" PixelFilter "gaussian" 2 2 ! Format 800 600 1 PixelSamples 8 8 Exposure 1 1.8 ! Projection "perspective" "fov" [35] LightSource "distantlight" 1 "intensity" [0.8] "from" [1 1 -1] "to" [0 0 0] --- 1,8 ---- Display "curves.png" "framebuffer" "rgb" PixelFilter "gaussian" 2 2 ! Format 1000 750 1 PixelSamples 8 8 Exposure 1 1.8 ! Projection "perspective" "fov" [20] LightSource "distantlight" 1 "intensity" [0.8] "from" [1 1 -1] "to" [0 0 0] --- NEW FILE: curves2.rib --- PixelSamples 2 2 Format 320 240 1 Display "curves2.png" "framebuffer" "rgb" Projection "orthographic" Scale 1.5 1.5 1.5 Translate -0.5 -0.55 5 WorldBegin Surface "constant" Color 1 1 1 # White background Patch "bilinear" "P" [-2 2 1 2 2 1 -2 -2 1 2 -2 1] # Control polygon Color 0.8 0.8 0.5 Curves "linear" [4] "nonperiodic" "P" [0 0 0 0 1 0 1 1 0 1 0 0] "constantwidth" [0.01] # Power basis Color 0.9 0.3 0.3 Basis "bezier" 3 "power" 4 Curves "cubic" [4] "nonperiodic" "P" [-2 0 0 3 -3 0 0 3 0 0 0 0] "constantwidth" [0.02] # Bezier basis Translate 0 0 0.1 Color 0.8 0.8 0.8 Basis "bezier" 3 "bezier" 3 Curves "cubic" [4] "nonperiodic" "P" [0 0 0 0 1 0 1 1 0 1 0 0] "constantwidth" [0.01] WorldEnd |