|
|
Here's code for a pretty cool looking flame that I dug up somewhere in
this newsgroup.
#declare fire =
sphere { 0, 1
pigment {rgbf<1,1,1,1>}
interior {
media {
//scattering { 1, rgb <1,1,1> }
emission 1
intervals 30
samples 10, 10
confidence 0.9999
variance 1/1000
density {
spherical
scallop_wave
turbulence 0.9
color_map {
[0.0 color rgb <0, 0, 0>] //You need this
[0.25 color rgb <1, 0., 0>]
[0.5 color rgb <1, 1, 0>]
[0.75 color rgb <1, 0, 0>]
[1.0 color rgb <0, 0, 0>]// you need this
}
scale 0.5 //you need this
}
}
}
scale 3
scale <1,3,1>
hollow
}
difference {
object {fire scale <.3,.3,.3> translate y*.25}
box {<-10,0,-10>,<10,-10,10>}
}
Post a reply to this message
|
|