|
![](/i/fill.gif) |
"McHannemann" <nomail@nomail> wrote:
> Hi,
>
> I would like to do the following:
> to have a object with media inside, where the density of the
> media is controlled by the x,y,z so that the max density is reached
> at 0,0,0 and the minimum at the border of the object?
>
> any ideas?
>
> Regards,
>
> Thor
Well, you could try to make a density file by randomly shooting out rays
from the given point and sampling along that path, writing the density
value to a 3d density file, then reading that back in as a .ds3 file.
Haven't tried that, though, but there is a galaxy.pov file in the samples
which has structure like that.
But, like Warp said, it would be slow. Very. Especially when you first
generate the density file. After that, it depends on your raytracing
quality settings.
Post a reply to this message
|
![](/i/fill.gif) |