POV-Ray : Newsgroups : povray.binaries.images : lit lantern : Re: lit lantern Server Time
30 Jul 2024 08:22:55 EDT (-0400)
  Re: lit lantern  
From: s day
Date: 3 Apr 2013 07:45:01
Message: <web.515c155e4b5e66523ad4ac8d0@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> > Thought I would light my lantern, was not really intending it to be lit but am
> > pretty pleased with the outcome.
> >
> > Sean
> >
>
> Very good. The flame is just like those I remember from the real oil
> lamps I saw.
>
>
> Alain

Thanks Alain (and everyone else) for the nice comments.

I grabbed the flame from an old hot air balloon scene from a few years back
(probably the last scene I worked on in a while). A few tweaks and it was good
enough for the lantern so was probably the easiest part of this model.

Source for the flame is below if anyone wants it.


camera {
  location  <0.0, 0.0, -1.0>
  look_at   <0.0, 0.0,  0.0>
  right     x*image_width/image_height
}

   merge {
 sphere // transparent sphere containing media
 { 0,0.075 scale <1, 4, 1>}
                                light_source {
                                  <0,0.1,0>
                                  color rgb <1, 0.75, 0.35>*1.5
                                  area_light
                                  <-.05, 0, -.05> <.05, .1, .05>
                                  2, 2
                                  area_illumination on
                                  adaptive 0
                                  jitter
                                  circular
                                  orient
                                  fade_distance 5
                                  fade_power 2

                                }
  pigment { rgbt 1 } hollow

                           interior
                           { media
                             {
                               emission colour rgb <0.1, 0.5, 1>*5
                               density
                               { spherical turbulence 0.13 omega 0.89
density_map
                                 {
                                   [0.0 rgb <0, 0, 0.0> ]
                                   [0.075 rgb <0, 0, 0.3> ]
                                   [0.15 rgb <0.02, 0.02, 0.45>]
                                   [0.4 rgb <0.01, 0.2, 2>]
                                   [0.475 rgb <0.0, 0.0, 0.35>]
                                   [1 rgb <0.0, 0.0, 0.5> ]
                                 }
                                scale <0.0175, 0.05, 0.0175>
                                translate<0,-0.03,0>
                               }
                             }
                           }
   interior
   { media
     {
                               emission colour rgb <1, 0.95, 0.8>*30
                               density
                               { spherical turbulence 0.2167 omega 0.66
lambda 2.2 density_map
                                 {
                                   [0.0 rgb <0.0, 0, 0.0> ]
                                   [0.2 rgb <0.7, 0.3, 0.1> ]
                                   [0.25 rgb <0.55, 0.4, 0.2>]
                                   [0.5 rgb <0.7, 0.5, 0.3>]
                                   [0.675 rgb <1.0, 1.0, 0.8>]
                                   [1 rgb <1.0, 0.8, 0.5> ]
                                 }
       scale <0.05, 0.15, 0.05>
       }

     }
  }
  translate <0, 0.3, 0>
 }


Post a reply to this message

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