POV-Ray : Newsgroups : povray.general : Fire, df3 and Povray Server Time
2 Jul 2024 16:23:43 EDT (-0400)
  Fire, df3 and Povray (Message 8 to 17 of 27)  
<<< Previous 7 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: LanuHum
Subject: Re: Fire, df3 and Povray
Date: 28 Apr 2015 14:15:01
Message: <web.553fcde05de3d38e7a3e03fe0@news.povray.org>
"MichaelJF" <mi-### [at] t-onlinede> wrote:

>
> BTW: Your example is hard to understand without the df3-file...
>

> Michael

Look my topic:
http://news.povray.org/povray.binaries.images/message/%3Cweb.553fcb648d10ac1c7a3e03fe0%40news.povray.org%3E/#%3Cweb.553
fcb648d10ac1c7a3e03fe0%40news.povray.org%3E


Post a reply to this message

From: Alain
Subject: Re: Fire, df3 and Povray
Date: 29 Apr 2015 19:14:26
Message: <554165d2$1@news.povray.org>
Le 15-04-28 12:58, Stephen a écrit :
> 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.

Looking at your sampling parameters, and I say: "Ouch!"
1- With method 3, intervals must be set to 1. Any other value 
dramaticaly increase the rendering time, and may cause some artefacts.
2- samples only use the first value. If a second value is present, it 
will be silently ignored.
3- confidence, variance and ratio are NOT used in any way. The are 
specific to method 1 and 2 ONLY.

method 3 is the default method and don't need to be precised.

>
> #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>
>        }
>
>      }
>
>    }
>
> }
>
>

For your 3 medias, use this:
media{
  samples 100 // more samples and faster
  absorbtion...
  <rest of the media goes here>
}


Post a reply to this message

From: Stephen
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 01:10:51
Message: <5541b95b$1@news.povray.org>
On 30/04/2015 00:15, Alain wrote:
> Looking at your sampling parameters, and I say: "Ouch!"

So do I, now. :-)
IIRC they were the Moray defaults that were imported into Biship3D.
It was 10 years ago when I made the scene.

-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 04:22:06
Message: <5541e62e@news.povray.org>
On 30/04/2015 06:10, Stephen wrote:
> It was 10 years ago when I made the scene.

And when I look at the old files. I don't understand why I made the 
decisions I did when I defined the colour maps to make the df3 files.
I think that I will revisit this.

BTW Is there another method of making df3 files other than tga2df3?

-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 06:24:00
Message: <554202c0$1@news.povray.org>
On 30/04/2015 09:21, Stephen wrote:
> BTW Is there another method of making df3 files other than tga2df3?

There is:

http://fly.mpi-cbg.de/~saalfeld/Projects/df3.html


-- 

Regards
     Stephen


Post a reply to this message

From: jr
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 07:16:54
Message: <55420f26@news.povray.org>
On 30/04/2015 09:21, Stephen wrote:
> On 30/04/2015 06:10, Stephen wrote:
> BTW Is there another method of making df3 files other than tga2df3?

there's a Tcl script ("MakeDF3.tcl") by Darren New from 2009. (sorry,
don't have the URL)

regards, jr.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 07:44:51
Message: <554215b3@news.povray.org>
On 30-4-2015 12:23, Stephen wrote:
> There is:
>
> http://fly.mpi-cbg.de/~saalfeld/Projects/df3.html
>

This one looks interesting. Thanks. Not tried yet but I will soon.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 07:56:58
Message: <5542188a$1@news.povray.org>
On 30-4-2015 13:16, jr wrote:
> On 30/04/2015 09:21, Stephen wrote:
>> On 30/04/2015 06:10, Stephen wrote:
>> BTW Is there another method of making df3 files other than tga2df3?
>
> there's a Tcl script ("MakeDF3.tcl") by Darren New from 2009. (sorry,
> don't have the URL)
>
> regards, jr.
>
That would be this:

http://news.povray.org/povray.binaries.utilities/thread/%3C4a2870e2%40news.povray.org%3E/?ttop=398992

Note Clipka's comment. I did not remember that new feature of version 3.7.

-- 
Thomas


Post a reply to this message

From: Stephen
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 08:04:08
Message: <55421a38$1@news.povray.org>
On 30/04/2015 12:44, Thomas de Groot wrote:
> On 30-4-2015 12:23, Stephen wrote:
>> There is:
>>
>> http://fly.mpi-cbg.de/~saalfeld/Projects/df3.html
>>
>
> This one looks interesting. Thanks. Not tried yet but I will soon.
>

I am playing with it ATM.
And having some problems.
When I get it sorted I'll start a new thread.

I found a df3 viewer as well but cannot find Darren's

-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Fire, df3 and Povray
Date: 30 Apr 2015 08:06:10
Message: <55421ab2$1@news.povray.org>
On 30/04/2015 12:56, Thomas de Groot wrote:
> On 30-4-2015 13:16, jr wrote:
>> On 30/04/2015 09:21, Stephen wrote:
>>> On 30/04/2015 06:10, Stephen wrote:
>>> BTW Is there another method of making df3 files other than tga2df3?
>>
>> there's a Tcl script ("MakeDF3.tcl") by Darren New from 2009. (sorry,
>> don't have the URL)
>>
>> regards, jr.
>>
> That would be this:
>
>
http://news.povray.org/povray.binaries.utilities/thread/%3C4a2870e2%40news.povray.org%3E/?ttop=398992
>
>
Thanks jr and Thomas

> Note Clipka's comment. I did not remember that new feature of version 3.7.
>

Drat! More things to learn. ;-)

-- 

Regards
     Stephen


Post a reply to this message

<<< Previous 7 Messages Goto Latest 10 Messages Next 10 Messages >>>

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