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