|
|
Hi,
here is the source for my flames. ( Images in povray.binaries.images,
"Newbies first flame" ).
They are not perfect --- yet. I'm working on it.
Jens
--------------
#include "colors.inc"
camera {
location <0,1.5,-9>
look_at <0,1.5,0>
}
light_source {
<6,2,-10> color White
}
#declare flame1 = cylinder { <0,-1,0>, <0,4.5,0>, 1
pigment { rgbt 1 }
hollow
interior {
media {
emission 1
//scattering{1,.01}
intervals 60
samples 1, 1
confidence 0.999
variance 1/100
density {
spherical
turbulence 0.1
scale <1, 4, 1>
translate <0,.5,0>
color_map{
[ 0 rgb 0]
[ .1 rgb <0.980392, 0.768627, 0.039216>]
[.3 color 1*Yellow]
}
}
density {
spherical
turbulence .05
scale <.85,2.5,.85>
translate <0,-.75,0>
color_map {
[ 0 rgb 1]
[ .3 color Yellow]//.75 * Yellow]
[ .6 rgb 0]
}
}
density {
gradient y
scale <1,4,1>
translate <0,1.5,0>
color_map {
[ 0 rgb 1]
[ 1 rgb 0]
}
}
scale .5
}
}
}
#declare flame2 = cylinder { <0,-1,0>, <0,4.5,0>, 1
pigment { rgbt 1 }
hollow
interior {
media {
emission 1
//scattering{1,.01}
intervals 60
samples 1, 1
confidence 0.999
variance 1/100
density {
spherical
turbulence 0.15
scale <1, 4, 1>
translate <0,.5,0>
color_map{
[ 0 rgb 0]
[ .1 rgb <0.980392, 0.768627, 0.039216>]
[.3 color 1.25*Yellow]
}
}
density {
spherical
turbulence .1
scale <.85,2.5,.85>
translate <0,-.75,0>
color_map {
[ 0 rgb 1]
[ .3 color Yellow]//.75 * Yellow]
[ .6 rgb 0]
}
}
density {
gradient y
scale <1,4,1>
translate <0,1.5,0>
color_map {
[ 0 rgb 1]
[ 1 rgb 0]
}
}
scale .5
}
}
}
#declare flame3 = cylinder { <0,-1,0>, <0,4.5,0>, 1
pigment { rgbt 1 }
hollow
interior {
media {
emission 1
//scattering{1,.01}
intervals 60
samples 1, 1
confidence 0.999
variance 1/100
density {
spherical
turbulence 0.25
scale <1, 4, 1>
translate <0,.5,0>
color_map{
[ 0 rgb 0]
[ .1 rgb <0.980392, 0.768627, 0.039216>]
[.3 color 1*Yellow]
}
}
density {
spherical
turbulence .15
scale <.85,2.5,.85>
translate <0,-.75,0>
color_map {
[ 0 rgb 1]
[ .3 color Yellow]//.75 * Yellow]
[ .6 rgb 0]
}
}
density {
gradient y
scale <1,4,1>
translate <0,1.5,0>
color_map {
[ 0 rgb 1]
[ 1 rgb 0]
}
}
scale .5
}
}
}
union {
light_source {
<0,2,0> color Yellow
looks_like {
object { flame1 }
}
shadowless
translate <0,-.85,0>
}
cylinder { <0,-3,0>, <0,0,0>, 1
pigment { color White }
}
cylinder { <0,-.1,0>, <0,.8,0> .1
pigment { color Black }
}
translate <-4,0,0>
}
union {
light_source {
<0,2,0> color Yellow
looks_like {
object { flame2 }
}
shadowless
translate <0,-.85,0>
}
cylinder { <0,-3,0>, <0,0,0>, 1
pigment { color White }
}
cylinder { <0,-.1,0>, <0,.8,0> .1
pigment { color Black }
}
}
union {
light_source {
<0,2,0> color Yellow
looks_like {
object { flame3 }
}
shadowless
translate <0,-.85,0>
}
cylinder { <0,-3,0>, <0,0,0>, 1
pigment { color White }
}
cylinder { <0,-.1,0>, <0,.8,0> .1
pigment { color Black }
}
translate <4,0,0>
}
Post a reply to this message
|
|