POV-Ray : Newsgroups : povray.binaries.images : Problem with media (giraffe.jpg 16.70 Kb) : Problem with media (giraffe.jpg 16.70 Kb) Server Time
15 Aug 2024 14:11:34 EDT (-0400)
  Problem with media (giraffe.jpg 16.70 Kb)  
From: Txemi Jendrix
Date: 31 May 2002 15:49:29
Message: <3cf7d3c9@news.povray.org>
Hi all:

I'm working in the current IRTC stills topic and everything works fine till
now except for the media in this model.
I think fire looks realistic enough, except for that strange "yellow tail".

The clouds are four semitransparent planes (all with the hollow keyword).
I've tried another possible combinations (the Gilles' fastclouds.inc file
and the fastsky.inc file from Rune).

If I use the clouds (anyone of them) this yellow tail appears. If I do not
it doesn't appear.

Assumed Gamma is 1

The giraffe and the media container are bicubic patches (from hamapatch).
The scene is made in Moray (z is up) and rendered in the last pov candidate.

The material is as it follows:

#declare jirafa_fuego_txt =
   material  // jirafa_fuego_txt


      texture

          pigment
         {
            color rgbft <0.0, 0.0, 0.0, 1.0, 1.0>
         }
         finish
         {
            ambient 0.0
            diffuse 0.0
         }
      }
      interior
      {
         media
         {
            samples 10,10
            emission rgbf <1.0, 0.7604, 0.0, 0.0104>
            scattering
            {
               1 // isotropic scattering
               extinction 0.2
            }
            density
            {
               gradient z
               density_map
               {
                  [0.0
                     bozo
                     color_map
                     {
                        [ 0.0     rgbft <0.0, 0.0, 0.0, 1.0, 1.0> ]
                        [ 0.370107  rgbft <0.0, 0.0, 0.0, 1.0, 1.0> ]
                        [ 0.494662  rgbft <1.0, 0.0104, 0.0, 0.0, 0.0> ]
                        [ 0.740214  rgbft <1.0, 0.0104, 0.0, 0.0, 0.0> ]
                        [ 0.975089  rgbft <1.0, 0.718733, 0.1354, 0.0104,
0.0104> ]
                        [ 1.0     rgbft <1.0, 0.0104, 0.0, 0.0, 0.0> ]
                     }
                     turbulence <0.0, 0.2, 0.5>
                     phase 2.79
                     triangle_wave
                     scale  <1.0, 0.1, 0.5>
                  ]
                  [0.5
                     gradient z
                     color_map
                     {
                        [ 0.0     rgbft <0.0, 0.0, 0.0, 1.0, 1.0> ]
                        [ 1.0     rgbft <0.0, 0.0, 0.0, 1.0, 1.0> ]
                     }
                  ]
                  [1.0
                     gradient z
                     color_map
                     {
                        [ 0.0     rgbft <0.0, 0.0, 0.0, 1.0, 1.0> ]
                        [ 1.0     rgbft <0.0, 0.0, 0.0, 1.0, 1.0> ]
                     }
                  ]
               }
               turbulence <0.0, 1.0, 0.2>
               ramp_wave
               scale  <20.0, 20.0, 40.0>
               translate    <0.0, 0.0, -5.0>
            }
         }
      }
      scale  <0.2, 0.8, 0.8>
      rotate -20.0 * x
   }

Can someone help me with this?

Thanks in advance.

Txemi Jendrix
tji### [at] euskalnetnet
http://www.geocities.com/txemijendrix


Post a reply to this message


Attachments:
Download 'giraffe.jpg' (17 KB)

Preview of image 'giraffe.jpg'
giraffe.jpg


 

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