POV-Ray : Newsgroups : povray.general : media sizes : Re: media sizes Server Time
12 Aug 2024 05:28:36 EDT (-0400)
  Re: media sizes  
From: Bob Hughes
Date: 20 Mar 1999 02:19:56
Message: <36F34C20.C5C384EC@aol.com>
It's basically a case of coupling scale in the media object with  the
density floats/vectors (and/or scattering {}).

 Container {
 //etc., etc.
   media {
 //blah, blah
     density { rgb <.1,.2,.3> } //increase if scale decreases
   }
  scale <.5,.5,.5> //decreased scale, reverse if scaling up
 }


portelli wrote:
> 
> How do you do this.  I looked in th edocs but it does not tell you
> much.  Is there a float to put somewhere?  I tried before  the pattern
> type but I get an error.
> 
> Jerry wrote:
> >
> > In article <36F2D5BE.F86968D1@pilot.msu.edu>, portelli
> > <por### [at] pilotmsuedu> wrote:
> >
> > >        Can media only be put in large containers?  Large with respect to one
> > >POV unit.  Most examples I've seen have large spheres with media in
> > >them.  Is there a way to scale down the media or containers?  Or do I
> > >have to enlarge everything in my scene?
> >
> > You might end up having to increase the density above 1. Media effects are
> > not unit independent. So if you change the size of your media container,
> > you'll most likely need to change the density. If you make the object
> > bigger, reduce the density; if you make the object smaller, increase the
> > density.
> >
> > I haven't worked with densities above 1, however, and have no idea what
> > that will do.
> >
> > Jerry

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

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