POV-Ray : Newsgroups : povray.binaries.images : Oil Candle [~15KB Jpg] : Oil Candle [~15KB Jpg] Server Time
4 Nov 2024 14:12:24 EST (-0500)
  Oil Candle [~15KB Jpg]  
From: Bob Hughes
Date: 7 Jul 2000 04:46:49
Message: <396598f9@news.povray.org>
Once again I've been motivated to try something I had been putting off doing.
The recent candelabra Dennis McDaniel had done was why.  Want a look at my
candle flame pov script Dennis?  Uses 'method 2' in MegaPov, here it is
anyway:
// candle flame (scale could be difficult to change)
#declare CandleFlame=
 sphere {0,1.1
   pigment {rgbf 1}
        interior {
                media {method 2 intervals 2 samples 3,3
                absorption <.33,.5,.67>*2 emission <.33,.5,.67>*1.67
                scattering {2,<.75,.67,.5>*2 extinction .133}
                density {spherical turbulence <.1,.2,.15>*1.5
                        density_map {
                        [0 rgb 0][.15 rgb <1.5,1,.5>*3][.5 rgb
<1.25,.5,.75>*2][.7 rgb <0,.05,.5>*6]
                        } scale <.85,.9,.85> translate -.25*y}
                }
                media {method 2 intervals 2 samples 3,3
                absorption <.36,.33,.167>*3 emission <.25,.5,.75>*1.133
                scattering {1,<.25,.33,.75>*3 extinction .67}
                density {spherical turbulence <.1,.2,.15>*.5
                        density_map {
                        [0 rgb 0][.3 rgb <0,.05,1.15>*6]
                        } scale <.7,.3,.7> translate -.9*y}
                }
       }
  scale <.9,3,.9>*.25 rotate 45*y translate .225*y
 hollow
 }

Pretty bad writing huh, but then I try not to mess with success once something
works okay enough.
Back to the render.  For lack of a better name I call this thing a oil candle.
I forget what it was called when I bought it years ago.
Well, it's a flying saucer shaped oil lamp, clear glass upper and mirrored
lower, filled with blueberry scented lamp oil (forget it, no smell).  It
didn't render the way it really looks so I'm uncertain why that is just yet,
possibly because I went with the non-overlapping refractive objects method
instead of the overlap way.  Figured people might want a look-see anyhow.

Bob
--
omniVerse http://users.aol.com/persistenceofv/all.htm


Post a reply to this message


Attachments:
Download 'oilcandle.jpg' (11 KB)

Preview of image 'oilcandle.jpg'
oilcandle.jpg


 

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