POV-Ray : Newsgroups : povray.newusers : I don't understand how media scales : Re: I don't understand how media scales Server Time
4 Nov 2024 19:21:08 EST (-0500)
  Re: I don't understand how media scales  
From: Simon Adameit
Date: 6 Apr 2003 06:44:46
Message: <3e90051e@news.povray.org>
Greg M. Johnson wrote:
> Yes it does.
> 
> Now say I want to make it look like "flames" on the surface of a sun, but
> still have a basically round surface.  When I do turbulence, it squashes it
> completely.  What feature ought I try?
> 
> 

Try warps:


sphere{0, 1
pigment{rgbft 1}
hollow
interior{
         media{
                 emission 0.75/5
                 density { spherical
             warp{black_hole 0,1 strength 1.3 falloff 2 inverse}
             scale 10 warp{turbulence 0.2} scale 1/10
             scale 20 warp{turbulence 0.3} scale 1/20
             scale 50 warp{turbulence 0.5} scale 1/50
             scale 100 warp{turbulence 0.9} scale 1/100
             warp{black_hole 0,1 strength 1.3 falloff 2}
                         color_map {
                                 [0.0 rgb <0,0,0>]
                 [0.1 rgb <0,0,0.3>]
                                 [0.5 rgb <0.8, 0.8, 0.4>]
                                 [1.0 rgb <1,1,1>]
                         }
             scale 0.5
                 }
         }
}
scale 10}

camera {
    location  <0, 10,-50>/3
    look_at   <0,0,0>
    angle    45
}


Post a reply to this message

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