|
![](/i/fill.gif) |
Yup. Use *one* media statement ( media {....}) and put 3 density statements
with gradient x, gradient y, and gradient z. Use one color_map for all of
these; something like:
color_map {
[0 rgb 1]
[.1 rgb 1]
[.1 rgb 0]
[1 rgb 0]
}
Put this in a large box with lotsa samples and there you go!
H.E. Day
Heimo Truhetz wrote:
> To produce some specialeffects I'd like to use the media-statement. It's
> possible to change the medias density by choosing a different
> density-function like sine_wave or cubic_wave combined with some
> pattern-types like gradient, boxed... . But that's not enough for me!
> I'd like to create my own density as a function of a spacegrid. It's result
> should be a kind of density-distribution over a given spacegrid.
>
> Does anybody know how to get this?
>
> Bye,
>
> Heimo
Post a reply to this message
|
![](/i/fill.gif) |