Difference between revisions of "Povray"
From Ghoulwiki
Ghoulsblade (talk | contribs) (→explosion) |
Ghoulsblade (talk | contribs) (→explosion) |
||
Line 10: | Line 10: | ||
* http://ghoulsblade.schattenkind.net/files/pov_exp1.pov | * http://ghoulsblade.schattenkind.net/files/pov_exp1.pov | ||
* [[Image:Pov_exp1.png]]<br> | * [[Image:Pov_exp1.png]]<br> | ||
+ | <pre> | ||
+ | // Persistence of Vision Raytracer Version 3.5 Scene Description File | ||
+ | //******************************************* | ||
+ | |||
+ | global_settings { | ||
+ | max_trace_level 5 | ||
+ | } | ||
+ | |||
+ | #include "colors.inc" | ||
+ | |||
+ | camera { | ||
+ | location <-1.5, 30, -150> | ||
+ | look_at <0, 25, 35> | ||
+ | angle 35 | ||
+ | } | ||
+ | |||
+ | background { color rgb 0 } | ||
+ | |||
+ | // light_source { <100, 100, -200> color White } | ||
+ | |||
+ | |||
+ | 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 1.5 } | ||
+ | translate -1.0*y // replace -1.0 = -t by time for animation | ||
+ | color_map { | ||
+ | [0.0 color rgb <0, 0, 0>] | ||
+ | [0.1 color rgb <1, 0, 0>] | ||
+ | [0.5 color rgb <1, 1, 0>] | ||
+ | [1.0 color rgb <1, 1, 0>] | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | scale 25 | ||
+ | translate 25*y | ||
+ | hollow | ||
+ | } | ||
+ | </pre> |
Revision as of 23:51, 18 May 2007
skybox
- todo...
explosion generator
- todo...
explosion
// Persistence of Vision Raytracer Version 3.5 Scene Description File //******************************************* global_settings { max_trace_level 5 } #include "colors.inc" camera { location <-1.5, 30, -150> look_at <0, 25, 35> angle 35 } background { color rgb 0 } // light_source { <100, 100, -200> color White } 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 1.5 } translate -1.0*y // replace -1.0 = -t by time for animation color_map { [0.0 color rgb <0, 0, 0>] [0.1 color rgb <1, 0, 0>] [0.5 color rgb <1, 1, 0>] [1.0 color rgb <1, 1, 0>] } } } } scale 25 translate 25*y hollow }