|
|
Whoops! My fault.....
that should be "translate y", not "translate -y".
I made the classic mistake of translating the observer rather than the
field.... what I want is the interval from (-1,0) to be "boosted" to
(0,1), which requires a +1 translating.
Sorry...
Dan
"Greg M. Johnson" wrote:
>
> In a separate post about flames and media, Dan gave advice for getting a density of
y(1-y) which is attached at the end.
> I tried Dan's algorithm and I think that instead I got y^2.
> My code is:
>
> interior {
> media {
> emission rgb 1 //<0.75,0.75,0.75>
> intervals 30
> samples 10, 10
> confidence 0.9999
> variance 1/1000
> density {
> gradient y
> translate -y
> }
> density {
> gradient y
> }
> }
>
--
http://www.flash.net/~djconnel/
Post a reply to this message
|
|