|
|
The scene file which draws the flame is:
#local denT=density { spherical
density_map {
[.01 rgb 0][.1 rgb <0,.35,.75> ][.3 rgb 0][.65 rgb <0,.375,.5>][1 rgb 1]
}
}
sphere { 0,2 hollow no_shadow
texture { pigment { rgbt 1 } }
interior {
media { emission .2 method 3 intervals 1
density { denT
translate y*Clock*18+1+iI
scale <2,1,2>
warp { turbulence .15 lambda 3 }
scale <.5,1,.5>
translate -y*Clock*18-1-iI
}
}
media { absorption .2 method 3 intervals 1
density { denT
translate y*Clock*18+1+iI
scale <2,1,2>
warp { turbulence .15 lambda 3 }
scale <.5,1,.5>
translate -y*Clock*18-1-iI
}
}
}
scale <1,9*Thrust,1>*(rT-1)
translate <(yA+yC)/2,-rB-3, (rA+rB)/4>
}
The variable Clock is the clock variable, but adjusted to compensate for a
precision error I noted in 3.1 (and continued to apply).
The variable Thrust controls the length of the flame. 0 = off, 1 = full
throttle.
Hope you find this helpful,
John
Post a reply to this message
|
|