POV-Ray : Newsgroups : povray.general : Converting Media : Re: Converting Media Server Time
11 Aug 2024 03:23:43 EDT (-0400)
  Re: Converting Media  
From: Jerome M  BERGER
Date: 9 Sep 1999 13:23:22
Message: <37D7ED10.F11B5E32@enst.fr>
Mike wrote:
> 
> Uh, what's the density for?  Is it really constant?  I would assume that you
> can just scale the values.
> 
> #declare t_yellowgreen_int = interior{
>  media{
>   emission .001*<0.6, 1, 0.15>
>   absorption .001*<.4,0,0.85>
>   samples 1,10
>   confidence .9999
>   variance 1/1000
>  }
>  ior 1.5
> }
> 
	Or rather:
#declare t_yellowgreen_int = interior{
 media{
  emission .1*<0.6, 1, 0.15>
  absorption .1*<.4,0,0.85>
  samples 1,10
  confidence .9999
  variance 1/1000
 }
 ior 1.5
}

	I believe that the function values are just used as indices when
looking into the color_map.

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

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