POV-Ray : Newsgroups : povray.binaries.images : Small, regular flame (~26kB) : Small, regular flame (~26kB) Server Time
20 Aug 2024 00:11:35 EDT (-0400)
  Small, regular flame (~26kB)  
From: Yann Ramin
Date: 25 Sep 2000 00:37:19
Message: <39ced67f@news.povray.org>
Hi there,

I'm trying to produce a flame based upon a burning gas, but used for 
illumination.  I've come up with two different ideas.  Both of them don't 
put out enough light, and could use some work.  Any ideas?  This is 
designed for an outdoor lighting situation.

#1 is a blue bunsen burner flame

#declare BlueFlame = 
        union {
        sphere{<0, -0.3, 0>, 0.8
        hollow
        no_shadow
        pigment {rgbt <1, 1, 1, 1>}
        interior {media {emission rgbf<0.6, 0.6, 1, 0>//0.5
                         scattering{1 rgbf<0, 0.1, 0.8, 1>}
                         density{onion color_map{
                                [0.1 rgb <0, 0, 0.2>]
                                [0.4 rgb <0.6, 0.2 1>]//, 1>]
                                [0.75 rgb <0.8, 0.8, 1.45>]//, 0.2>]
                                [0.95 rgb <0, 0.1, 0.8>]
                                }
                                scale 0.8 turbulence <0.35, 0.1, 0.35>}
                                method 1
                                }
        
                }
        scale <1,4,1>
        }
        light_source { <0,-1,0>
                        rgb <.4,.2,1> 
        }
}

#2 is the same flame, but made red

#declare RedFlame = 
union { 
        sphere{<0, -0.3, 0>, 0.8
        hollow
        no_shadow
        pigment {rgbt <1, 1, 1, 1>}
        interior {media {emission rgbf<0.9, 0.9, 0.5, 0>//0.5
                         scattering{1 rgbf<.8, 0.7, 0.3, .7>}
                         density{onion color_map{
                                [0.1 rgb <0.2, 0, 0>]
                                [0.4 rgb <1, 0.5, 0.1>]//, 1>]
                                [0.75 rgb <1.45, 0.8, 0.8>]//, 0.2>]
                                [0.95 rgb <.8, 0.1, 0.8>]
                                }
                                scale 0.8 turbulence <0.4, 0.1, 0.1>}
                                method 2
                                }
        
                }
        scale <1,4,1>
        }

 light_source { <0,-0.3,0>
                        rgb <.9,.7,.1> 
        

}
-- 

--------------------------------------------------------------------
Yann Ramin                      atr### [at] atrustrivalieeuorg
Atrus Trivalie Productions      www.redshift.com/~yramin
Monterey High IT                www.montereyhigh.com
AIM                             oddatrus
Marina, CA

IRM Developer                   Network Toaster Developer
SNTS Developer                  KLevel Developer

( this .sig represents the view of the world at any one
        moment. Enjoy! )

"If I read the DeCSS source code in a forest, would it make
a copyrightable sound?"
- mwalker

"All cats die.  Socrates is dead.  Therefore Socrates is a cat."
        - The Logician

--------------------------------------------------------------------


Post a reply to this message


Attachments:
Download 'blue.png' (14 KB) Download 'red.png' (14 KB)

Preview of image 'blue.png'
blue.png

Preview of image 'red.png'
red.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.