|
|
I can't get the example in the docs to work, or the candle flame example from F.
Lohmueller's site. I've probably tried 5 others.
I've been at this for hours, and I'm done searching and testing.
I'm clearly missing something.
[0 rgb 0] wipes out the sphere completely - no color, no "light"
THAT drove me crazy for most of the time.
Commenting that out finally gave me a semitransparent sphere of the next color
in the map. Adding absorbing media just makes it look more solid.
I don't get any sort of transparent glowing effect like shown in the examples
for this copy-and pasted code. The first is from the docs, the second is from
F. Lohmueller's candle flame example.
Why?
box {<-300, 0, 100>, <300, 400, 101> pigment {Gray50}}
//sphere {<0, 0, 0> 100 pigment {rgbf <0.6, 0, 0, 0.9>} translate y*270}
//light_source {<0, 270, 10> color rgb <1, 1, 1>}
/*
sphere {<0, 270, 0>, 100
pigment {rgbt 1} hollow
interior {
media {
emission 1
//intervals 3
//samples 1, 1
density {spherical
density_map {
//[0 rgb 0]
[0.0 rgb <1,0,0>]
[0.8 rgb <1,1,0>]
[1 rgbf 1]
} // end density map
} // end density block
} // end media block
//media {absorption 0.2}
} // end interior
} // end sphere
*/
sphere {<0, 270, 0>, 100 hollow
pigment {color rgbf <1, 1, 1, 1>}
finish { ambient 0 diffuse 0 }
interior {
media {
emission color rgb<1.0,0.75,0.1>*1.75
intervals 9
samples 1, 20
confidence 0.9999
variance 1/100
density {spherical
ramp_wave
turbulence 0.15
color_map {
//[0.0 color rgb <0.0,0.0,0.0>]
[0.6 color rgb <0.8,0.3,0.0>]
[0.9 color rgb <1.0,0.8,0.3>]
[1.0 color rgb <1.0,1.0,0.1>]
} // end color_map
scale <1,2.5,1>
} // end of density
} // end of media
} // end interior
} // end sphere
Post a reply to this message
|
|