|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I created the following media in the SuperPatch. How do I convert it to a
normal POV-Ray media? (it should be possible)
#declare constant = function{ .01 }
#declare t_yellowgreen_int = interior{
media{
density{
function constant
color_map{
[0 rgb .1]
[1 rgb .1]
}
}
emission <0.6, 1, 0.15>
absorption <.4,0,0.85>
samples 1,10
confidence .9999
variance 1/1000
}
ior 1.5
}
Mark
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
}
> I created the following media in the SuperPatch. How do I convert it to a
> normal POV-Ray media? (it should be possible)
>
> #declare constant = function{ .01 }
>
> #declare t_yellowgreen_int = interior{
> media{
> density{
> function constant
> color_map{
> [0 rgb .1]
> [1 rgb .1]
> }
> }
> emission <0.6, 1, 0.15>
> absorption <.4,0,0.85>
> samples 1,10
> confidence .9999
> variance 1/1000
> }
> ior 1.5
> }
>
> Mark
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|