From: <eg...@us...> - 2007-05-17 14:37:09
|
Revision: 474 http://svn.sourceforge.net/opengate/?rev=474&view=rev Author: egore Date: 2007-05-17 07:37:08 -0700 (Thu, 17 May 2007) Log Message: ----------- Add my little experiments with povray Added Paths: ----------- trunk/data/skybox/ trunk/data/skybox/render.sh trunk/data/skybox/tauseti_dark.pov Added: trunk/data/skybox/render.sh =================================================================== --- trunk/data/skybox/render.sh (rev 0) +++ trunk/data/skybox/render.sh 2007-05-17 14:37:08 UTC (rev 474) @@ -0,0 +1,8 @@ +#!/bin/sh + +povray -I${1} -H256 -W256 +FT -D32 -O${1/.pov/}_fr.tga -K1 +povray -I${1} -H256 -W256 +FT -D32 -O${1/.pov/}_rt.tga -K2 +povray -I${1} -H256 -W256 +FT -D32 -O${1/.pov/}_bk.tga -K3 +povray -I${1} -H256 -W256 +FT -D32 -O${1/.pov/}_lf.tga -K4 +povray -I${1} -H256 -W256 +FT -D32 -O${1/.pov/}_up.tga -K5 +povray -I${1} -H256 -W256 +FT -D32 -O${1/.pov/}_dn.tga -K6 Property changes on: trunk/data/skybox/render.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + text/x-sh Name: svn:eol-style + native Added: trunk/data/skybox/tauseti_dark.pov =================================================================== --- trunk/data/skybox/tauseti_dark.pov (rev 0) +++ trunk/data/skybox/tauseti_dark.pov 2007-05-17 14:37:08 UTC (rev 474) @@ -0,0 +1,61 @@ +#include "colors.inc" + +camera { + location <0,0,0> + angle 90 + right <1,0,0> up <0,1,0> + // turn the cam based on the current frame=clock : [0-5] + #switch (clock) + #range (0,3) + // first 4 frames : turn from left to right + rotate (90*clock)*y + #break + #case (4) + // look at the sky + rotate -90*x + #break + #case (5) + // look at the ground + rotate 90*x + #break + #end // End of conditional part +} + +background { color rgb <0,0,0> } + +sphere { < 0, 0, 0>, 2 + pigment { rgbt 1 } // surface of sphere is transparent + interior { + media { + emission 0.02 + intervals 1 + samples 25 + method 3 + density { + spherical + ramp_wave + translate 1.0*y // replace 1.0 = t by time for animation + warp { turbulence 2.5 } + translate -1.0*y // replace -1.0 = -t by time for animation + color_map { + [0.0 color rgb <0.1, 0.2, 0.4> * 0.5] + [0.1 color rgb <0.2, 0.2, 1> * 0.5] + [0.8 color rgb <1, 0, 1> * 0.5] + [1.0 color rgb <0.9, 0.1, 0.1> * 0.5] + } + } + density { + spherical + ramp_wave + color_map { + [0.0 color rgb 1] + [0.1 color rgb 1] + [0.8 color rgb 0] + [1.0 color rgb 0] + } + } + } + } + scale 25 + hollow +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |