POV-Ray : Newsgroups : povray.newusers : Need help with explosions : Re: Need help with explosions Server Time
2 Nov 2024 07:23:15 EDT (-0400)
  Re: Need help with explosions  
From: Alain
Date: 19 Jul 2004 23:38:13
Message: <40fc93a5$1@news.povray.org>
Danny nous apporta ses lumieres ainsi en ce 19/07/2004 20:22... :

>Okay. I've figured out some stuff about media, and this is what I've got so
>far:
>
>#include "colors.inc"
>
>camera {
>  location <0.000000,0.000000,3.000000>
>  look_at <0.000000,0.000000,0.000000>
>
>}
>
>background {color rgb <0,0,0>}
>
>light_source {
>
>  <-1000.000000,1000.000000,3000.000000>
>  color rgb <1.0000,1.0000,1.0000>
>           }
>
>
>sphere{<0,0,0>,1
>     interior{media{emission rgb 1
>    density { spherical
>      color_map {
>       [0.0 VeryDarkBrown]
>       [0.05 Brown]
>       [0.15 rgb <0.8,0.4,0.2>]
>       [1.0 rgb <0.8,0.8,0.4>]
>      }}}}
>      hollow
>    texture {pigment {rgbt 0.9
>    }
>     finish{ambient 0 diffuse 0 phong 0}}
> }
>
>I've got the colors I want, but it's too uniform to pass for an explosion.
>Is there a way to make this ball of media look more fluffy, like a cloud?
>
>
>"
>
You can add some turbulence. Depending on the various turbulence 
parameters, you can change the pattern in many ways.

Alain


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.