POV-Ray : Newsgroups : povray.binaries.scene-files : Fire problem with POV-Ray 3.1 Server Time: 16 Jun 2019 07:18:08 GMT
  Fire problem with POV-Ray 3.1 (Message 1 to 4 of 4)  
From: heiko rappich
Subject: Fire problem with POV-Ray 3.1
Date: 21 Oct 1998 21:15:44
Message: <362E409A.6AEB3235@t-online.de>
Hi all,
I created flames with "media" in the new POV-Ray 3.1, but the center of
the flames are
always partial transparent. Flames created with "halo" in POV-Ray 3.02
are not transparent
in the hot flame center and more realistic.
My question: How can i create better flames with "media"?

Many thanks,

Heiko


The problematic code:

#include "colors.inc"
#include "textures.inc"


camera {
  location   < 0, 2, 4 >
 look_at    < 0, 0, 0 >
 }

light_source { < -25, 35, 34 >
color White
}


sphere {
<-.5,0,-1> 1.5
    pigment { color rgbf<1, 1, 1, 1> }
    finish { ambient 0 diffuse 0 }
     interior{
        media{
        emission 0.68
        intervals 5
        samples 5, 10
        confidence 0.999
        variance 1/1000
           density {
                spherical
                ramp_wave
                color_map {
                        [0.0 color rgb <0.0, 0.0, 0.0>]
                        [0.2 color rgb <1.0, 0.0, 0.0>]
                        [1.0 color rgb <1.0, 1.0, 0.0>]
                }

               turbulence 1.9
               frequency 2
               scale .7
           }

        }
     }
    hollow
    scale 1.9

  }


plane
{
  y,
  -2
  pigment { checker color White color Black }
}


Post a reply to this message

From: Ken
Subject: Re: Fire problem with POV-Ray 3.1
Date: 22 Oct 1998 03:01:05
Message: <362E91BF.95D16806@pacbell.net>
Try lowering the filter value on your pigment.

Ken Tyler

heiko.rappich wrote:

> Hi all,
> I created flames with "media" in the new POV-Ray 3.1, but the center of
> the flames are
> always partial transparent. Flames created with "halo" in POV-Ray 3.02
> are not transparent
> in the hot flame center and more realistic.
> My question: How can i create better flames with "media"?
>
> Many thanks,
>
> Heiko
>
> The problematic code:
>
> #include "colors.inc"
> #include "textures.inc"
>
> camera {
>   location   < 0, 2, 4 >
>  look_at    < 0, 0, 0 >
>  }
>
> light_source { < -25, 35, 34 >
> color White
> }
>
> sphere {
> <-.5,0,-1> 1.5
>     pigment { color rgbf<1, 1, 1, 1> }
>     finish { ambient 0 diffuse 0 }
>      interior{
>         media{
>         emission 0.68
>         intervals 5
>         samples 5, 10
>         confidence 0.999
>         variance 1/1000
>            density {
>                 spherical
>                 ramp_wave
>                 color_map {
>                         [0.0 color rgb <0.0, 0.0, 0.0>]
>                         [0.2 color rgb <1.0, 0.0, 0.0>]
>                         [1.0 color rgb <1.0, 1.0, 0.0>]
>                 }
>
>                turbulence 1.9
>                frequency 2
>                scale .7
>            }
>
>         }
>      }
>     hollow
>     scale 1.9
>
>   }
>
> plane
> {
>   y,
>   -2
>   pigment { checker color White color Black }
> }


Post a reply to this message

From: Hendrik Knaepen
Subject: Re: Fire problem with POV-Ray 3.1
Date: 24 Oct 1998 20:43:21
Message: <36322DAD.C41FD56C@skynet.be>
Ken wrote:

> Try lowering the filter value on your pigment.
>
> Ken Tyler

I think, if you do that, you will see the container-object, but you
won't get more realistic flames.  To make the center more opaque (or how
do you spell it), you should increase the amount of emission.  A value
of about 5 (or even higher) should do the job.

(Please correct me if I'm wrong.)
ZK

>
>
> heiko.rappich wrote:
>
> > Hi all,
> > I created flames with "media" in the new POV-Ray 3.1, but the center
> of
> > the flames are
> > always partial transparent. Flames created with "halo" in POV-Ray
> 3.02
> > are not transparent
> > in the hot flame center and more realistic.
> > My question: How can i create better flames with "media"?
> >
> > Many thanks,
> >
> > Heiko
> >
> > The problematic code:
> >
> > #include "colors.inc"
> > #include "textures.inc"
> >
> > camera {
> >   location   < 0, 2, 4 >
> >  look_at    < 0, 0, 0 >
> >  }
> >
> > light_source { < -25, 35, 34 >
> > color White
> > }
> >
> > sphere {
> > <-.5,0,-1> 1.5
> >     pigment { color rgbf<1, 1, 1, 1> }
> >     finish { ambient 0 diffuse 0 }
> >      interior{
> >         media{
> >         emission 0.68
> >         intervals 5
> >         samples 5, 10
> >         confidence 0.999
> >         variance 1/1000
> >            density {
> >                 spherical
> >                 ramp_wave
> >                 color_map {
> >                         [0.0 color rgb <0.0, 0.0, 0.0>]
> >                         [0.2 color rgb <1.0, 0.0, 0.0>]
> >                         [1.0 color rgb <1.0, 1.0, 0.0>]
> >                 }
> >
> >                turbulence 1.9
> >                frequency 2
> >                scale .7
> >            }
> >
> >         }
> >      }
> >     hollow
> >     scale 1.9
> >
> >   }
> >
> > plane
> > {
> >   y,
> >   -2
> >   pigment { checker color White color Black }
> > }



--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Hendrik Knaepen (hen### [at] skynetbe)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
          Idee Software -- Vlaamse ShareWare
            E-Mail: ide### [at] inamecom
         WWW: http://www.surf.to/ideesoftware
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Bezoek ons voor gratis Nederlandstalige spellen!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Post a reply to this message

From: =Bob
Subject: Re: Fire problem with POV-Ray 3.1
Date: 26 Oct 1998 05:01:29
Message: <36340229.0@news.povray.org>
Remember, 'emission' is color vector oriented so 0.68 is rgb<0.68,0.68,0.68>.
rgb<1,0.8,0.3> might be closer to a more reasonable color.
The 'density' color_map is based upon 0 at outermost edge (like halo was), the 
color being the density (1 more than 0).
Your trouble could be with the 'spherical' keyword, 'onion' may work out 
better. And also the turbulence/frequency, unless the intent is to get a 
rather chaotic flame, will mix it up a great deal to where the density is not 
where expected. Scaling up like you have will diminish the media as well.
I may be wrong too, so.....

Message <362E409A.6AEB3235@t-online.de>, heiko.rappich  typed...
>
>Hi all,
>I created flames with "media" in the new POV-Ray 3.1, but the center of
>the flames are
>always partial transparent. Flames created with "halo" in POV-Ray 3.02
>are not transparent
>in the hot flame center and more realistic.
>My question: How can i create better flames with "media"?
>
>Many thanks,
>
>Heiko
>
>
>The problematic code:
>
>#include "colors.inc"
>#include "textures.inc"
>
>
>camera {
>  location   < 0, 2, 4 >
> look_at    < 0, 0, 0 >
> }
>
>light_source { < -25, 35, 34 >
>color White
>}
>
>
>sphere {
><-.5,0,-1> 1.5
>    pigment { color rgbf<1, 1, 1, 1> }
>    finish { ambient 0 diffuse 0 }
>     interior{
>        media{
>        emission 0.68
>        intervals 5
>        samples 5, 10
>        confidence 0.999
>        variance 1/1000
>           density {
>                spherical
>                ramp_wave
>                color_map {
>                        [0.0 color rgb <0.0, 0.0, 0.0>]
>                        [0.2 color rgb <1.0, 0.0, 0.0>]
>                        [1.0 color rgb <1.0, 1.0, 0.0>]
>                }
>
>               turbulence 1.9
>               frequency 2
>               scale .7
>           }
>
>        }
>     }
>    hollow
>    scale 1.9
>
>  }
>
>
>plane
>{
>  y,
>  -2
>  pigment { checker color White color Black }
>}
>
>
>
>
>
>
>
>

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.html
=Bob


Post a reply to this message

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