|
|
I include an example file to show how flames can be done in pov 3.1 beta.
The basic file is hollow3 a sample file with 3.1
The Key points are
1. scaling the color map
2. making the first and last statements in the color map 0
You can mess with everything else to your taste
Hope this helps
Mike Hazelgrove
// Persistence Of Vision raytracer version 3.1 sample scene by Mike
Hazelgrove
// based on Hollow3 by Dieter Bayer.
//
// This scene shows a flame.
// by Mike Hazelgrove based on Hollow3
//
#include "colors.inc"
camera {
location <-1.5, 30, -50>
look_at <0, 25, 35>
angle 35
}
background { color rgb<0.3,0.3,0> }
light_source { <100, 100, -200> color White }
sphere { 0, 1
pigment {rgbf<1,1,1,1>}
interior {
media {
emission 0.5
intervals 20
samples 1, 10
confidence 0.9999
variance 1/1000
density {
spherical
scallop_wave
turbulence 0.5
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>
translate 25*y
hollow
}
Post a reply to this message
|
|