|
|
Nieminen Juha <war### [at] punarastascstutfi> wrote in message
news:385a1d52@news.povray.org...
> What I would want to be able to do is to create df3 density maps
> inside povray itself, without external files. Just like it's possible to
> create a heightfield without an external file in megapov.
> Is this already possible in megapov?
I am not sure what you mean, but with MegaPov or SuperPatch
I think you can use an isosurface function as a density, as in:
#declare densfn=function{x^3+y-z^2}
sphere{0,.5
texture{
pigment{rgbt 1}
}
interior{
media{
emission 1
density{
function{densfn}
color_map{
[0 rgb<1,1,1>]
[.1 rgb<0,0,1>]
[1 rgb<0,0,0>]
}
}
}
}
hollow
}
(I am *not* saying that this snippet is good example!
It is just to show syntax)
Post a reply to this message
|
|