POV-Ray : Newsgroups : povray.general : Fire, df3 and Povray : Re: Fire, df3 and Povray Server Time
1 Jun 2024 12:30:55 EDT (-0400)
  Re: Fire, df3 and Povray  
From: Stephen
Date: 28 Apr 2015 12:59:06
Message: <553fbc5a@news.povray.org>
On 28/04/2015 16:33, MichaelJF wrote:
> First a voxel within a df3-file can contain only a color and if the color at the
> border of the box described by the df3-file is not black which is density zero
> you will see the bounding box. So if you use df3 here you must assure that the
> fire is inside this box completely.

This is very true.
Another thing when using df3 files is that you can have several inside 
one media.
The example below is from an old test of a bi-cubic Mandelbrot I did 
about 10 years ago. (Andrew/Orchid supplied the code for me to make the 
df3 files.) I posted the code and instructions to make them in 
povray.binaries.misc 2005

I cannot remember why I used Red, Yellow and Blue.

#declare df3_cube01bddf_0 =
material{
   texture {
     pigment {
       color rgbft <1.000,0.000,0.000,0.000,1.000>
     }

   }

   interior{
     ior                 1.000
     caustics            0.000
     dispersion          1.000
     dispersion_samples  7.000
     fade_power          0.000
     fade_distance       0.000
     fade_color          rgb <0.000,0.000,0.000>
     media {
       method     3
       intervals  20
       samples    3, 6
       confidence 0.900
       variance   0.008
       ratio      0.900
       absorption rgb <0.000,0.000,0.000>
       emission   rgb <1.000,0.000,0.000>
       aa_threshold 0.100
       aa_level    4
       density {
         density_file df3 "F:\Graphics\B3D Data\Maps\DF3\Mikes05r2.df3"
         interpolate 1
         scale     <2.000,2.000,2.000>
         translate <-1.000,-1.000,-1.000>
       }

     }

     media {
       method     3
       intervals  20
       samples    3, 6
       confidence 0.900
       variance   0.008
       ratio      0.900
       absorption rgb <0.000,0.000,0.000>
       emission   rgb <0.000,0.000,1.000>
       aa_threshold 0.100
       aa_level    4
       density {
         density_file df3 "F:\Graphics\B3D Data\Maps\DF3\Mikes05b2.df3"
         interpolate 1
         scale     <2.000,2.000,2.000>
         translate <-1.000,-1.000,-1.000>
       }

     }

     media {
       method     3
       intervals  20
       samples    3, 6
       confidence 0.900
       variance   0.008
       ratio      0.900
       absorption rgb <0.000,0.000,0.000>
       emission   rgb <0.400,0.400,0.000>
       aa_threshold 0.100
       aa_level    4
       density {
         density_file df3 "F:\Graphics\B3D Data\Maps\DF3\Mikes05y2.df3"
         interpolate 1
         scale     <2.000,2.000,2.000>
         translate <-1.000,-1.000,-1.000>
       }

     }

   }

}


-- 

Regards
     Stephen


Post a reply to this message


Attachments:
Download 't02f4a2_0000.png' (302 KB)

Preview of image 't02f4a2_0000.png'
t02f4a2_0000.png


 

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