POV-Ray : Newsgroups : povray.general : media sizes Server Time
2 Nov 2024 15:24:58 EDT (-0400)
  media sizes (Message 1 to 9 of 9)  
From: portelli
Subject: media sizes
Date: 19 Mar 1999 14:55:53
Message: <36F2D5BE.F86968D1@pilot.msu.edu>
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?


Post a reply to this message

From: Jerry
Subject: Re: media sizes
Date: 19 Mar 1999 15:23:04
Message: <jerry-1903991223040001@cerebus.acusd.edu>
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


Post a reply to this message

From: PoD
Subject: Re: media sizes
Date: 19 Mar 1999 15:34:11
Message: <36F2B4C2.4E52@merlin.net.au>
portelli 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?

Media have to be tuned to the size of the container in order to look
right.
Just as in real life, you might be able to see right through a glass of
murky water 
but couldn't see the bottom of a swimming pool full of the same water. 
So the 
density of the media must be adjusted for the effect you want.
You also have to scale any patterns to the overall scale of your scene.

Most important, Practice ;)

Cheers, PoD.


Post a reply to this message

From: portelli
Subject: Re: media sizes
Date: 20 Mar 1999 01:07:36
Message: <36F36508.319EB79C@pilot.msu.edu>
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


Post a reply to this message

From: Bob Hughes
Subject: Re: media sizes
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

From: portelli
Subject: Re: media sizes
Date: 20 Mar 1999 13:53:02
Message: <36F41875.AF225C37@pilot.msu.edu>
I'm afraid I still don't understand.  Do you increase the color values? 
How would you make the pov example,( the fire in the sphere,
hollow3.pov) to a one unit sized sphere? 

Bob Hughes wrote:
> 
> 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

From: Bob Hughes
Subject: Re: media sizes
Date: 21 Mar 1999 00:30:31
Message: <36F483F0.30645127@aol.com>
You can do it two different ways.
Either increase 'emission' OR increase the density values by a factor
based upon the change in size.
I tried a 10 times reduction (scale 2.5 rather than 25) on the media
container object and raised the emission 10 times (0.5 rather than
0.05). This makes the same thing as the original.
Oh, and the camera location and look_at numbers were all brought down to
one tenth too (not angle 35, same for it) and also the translate 25*y
changed to 2.5*y to keep the view the same.
'density' can instead be raised 10 times and emission left alone. Skip
scattering altogether if at all possible.

So, it's rather simple. Just go higher or lower as much as you go up or
down in size scale.


portelli wrote:
> 
> I'm afraid I still don't understand.  Do you increase the color values?
> How would you make the pov example,( the fire in the sphere,
> hollow3.pov) to a one unit sized sphere?
> 
> Bob Hughes wrote:
> >
> > 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

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


Post a reply to this message

From: portelli
Subject: Re: media sizes
Date: 21 Mar 1999 02:40:39
Message: <36F4CC68.8A82AA86@pilot.msu.edu>
Ya I got it thanks.  But now how do you get it so the media does not hit
the container.  I think I read this in the docs somewhere.  I'll have to
look again.

Bob Hughes wrote:
> 
> You can do it two different ways.
> Either increase 'emission' OR increase the density values by a factor
> based upon the change in size.
> I tried a 10 times reduction (scale 2.5 rather than 25) on the media
> container object and raised the emission 10 times (0.5 rather than
> 0.05). This makes the same thing as the original.
> Oh, and the camera location and look_at numbers were all brought down to
> one tenth too (not angle 35, same for it) and also the translate 25*y
> changed to 2.5*y to keep the view the same.
> 'density' can instead be raised 10 times and emission left alone. Skip
> scattering altogether if at all possible.
> 
> So, it's rather simple. Just go higher or lower as much as you go up or
> down in size scale.
> 
> portelli wrote:
> >
> > I'm afraid I still don't understand.  Do you increase the color values?
> > How would you make the pov example,( the fire in the sphere,
> > hollow3.pov) to a one unit sized sphere?
> >
> > Bob Hughes wrote:
> > >
> > > 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
> 
> --
>  omniVERSE: beyond the universe
>   http://members.aol.com/inversez/homepage.htm
>  mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

From: Bob Hughes
Subject: Re: media sizes
Date: 21 Mar 1999 13:22:04
Message: <36F538C5.22B09F62@aol.com>
Again, scaling it, adjusting...
If you use turbulence you may get a clipped media, especially noticeable
with spherical mapped media in a typical 1 POV unit sphere container and
the density ranging from none at 0 (outer edge) and full at 1 (center)
with turbulence 1 since the media then jumps around inside. As a general
rule you can either scale the media itself (or
density{density_map{}scale}) a bit smaller or perhaps add a secondary
media 'absorption' with frequency -1 based loosely upon the first;
however not as easy to get right.


portelli wrote:
> 
> Ya I got it thanks.  But now how do you get it so the media does not hit
> the container.  I think I read this in the docs somewhere.  I'll have to
> look again.

-- 
 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.