POV-Ray : Newsgroups : povray.binaries.images : Stupid Beginner's Media Problem : Re: Stupid Beginner's Media Problem Server Time
4 Nov 2024 19:22:14 EST (-0500)
  Re: Stupid Beginner's Media Problem  
From: clipka
Date: 11 Nov 2009 19:32:28
Message: <4afb579c$1@news.povray.org>


> sphere // transparent sphere containing media
>  { <0, 2, 0>,1
>    pigment { rgbt 1 }
>    hollow
>    interior
>    { media
>      { emission 1
>        density
>        { spherical density_map
>          { [0 rgb 0]
>            [0.4 rgb <1,0,0>]
>            [0.8 rgb <1,1,0>]
>            [1 rgb 1]
>          }
>        }
>      }
>   }
> }
> 
> which I literally copied from the tutorial (except for the position of 
> the sphere's center), no visible media at all? Yes, I noticed that 
> emitting media is best visible against dark backgrounds, so I set the 
> ground plane to rgb 0.2 - but all I ever get is an empty grey plane 
> beneath an empty black sky!

You forgot to move the pattern with the object. If you instead crate the 
sphere at the center, and just translate it around once you've equipped 
it with the media, you should be fine.

Likewise, if you substituted "onion" for "spherical", you'd have gotten 
some visible stuff, too (but again most likely not what you want).


Post a reply to this message

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