POV-Ray : Newsgroups : povray.binaries.images : My own candle : Re: My own candle Server Time
4 Oct 2024 05:19:51 EDT (-0400)
  Re: My own candle  
From: Thomas Lake
Date: 17 Apr 1999 16:53:43
Message: <3718E801.305F4EC6@home.com>
Ken wrote:

> Thomas Lake wrote:
> >
> > Well after seeing all the candle posts I decided to make my own. This
> > was modeled after a candle in my home. The candle flame is composted of
> > a union of a sphere and a cone, then I duplicated the union and scaled
> > it down slightly. I still don't like the pointy look. Perhaps if someone
> > could give me a little help with media I don't use it much, actually
> > this is only about the third time I've used it. I have also pasted the
> > candle flame material here for anyone who wants to help with the flame.
> > This image was done quite quickly so forget about how empty it is it is
> > just a test image, I am only concerned with the flame. If you look
> > REALLY closely at the bottom of the flame you might notice a SMALL blue
> > area, This was created with a second bluish media, which needs to be
> > more prominent.
>
>   Something that would help this flame a lot is a color map entry for
> the density statement. Without it you really have little to work with.
> Take a look at the media statement I posted for Scott to use with his
> Drunken Dragon image. It has some modifiers that ae close to what you
> used but adds some color and depth to the flames. Stick with your own
> container as the one I use for my candle post was pitiful at best.
> Also back off on the emission values I used. I was tring to see how
> far I could push it before the high emmision washed out the flame
> with white light yet still add some of it's own light to the scene.
>
>   I do like the coloration of your wax and the translucency you have
> achieved supports my opinion that for this kind of model anyhow a
> new translucence function in Pov is not needed. As Marcus say's though
> there are other situations where it might come in handy so I wouldn't
> argue against the Pov team adding it if they choose to do so.

Thanks for the suggestion!

>   The one thing it seems to lack is that little pool of clear liquid
> wax around the base of the wick. A minor point and easy to add I would
> think.

Actually I did add this. that's why the wax at the base of the candle is much
redder than the rest of the candle. I guess I need to turn the specular and
phong highlights up on it, and possibly its reflection values.

> > Flame Media:
> >
> > > material  // Flame
> > >    {
> > >       texture
> > >       {
> > >          pigment
> > >          {
> > >             color rgbf <1.0, 1.0, 1.0, 1.0>
> > >          }
> > >       }
> > >       interior
> > >       {
> > >          media
> > >          {
> > >             samples 1,10
> > >             absorption rgb <0.3, 0.3, 0.3>
> > >             emission rgb <3, 3, 2.066067>
> > >             density
> > >             {
> > >                cylindrical
> > >                scale  <0.8, 0.8, 0.6>
> > >                translate 0.3 * z
> > >             }
> > >          }
> > >       }
> > >    }

Thanks for the code!

>
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

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