POV-Ray : Newsgroups : povray.unofficial.patches : artifacts, media, blobpattern, blob : artifacts, media, blobpattern, blob Server Time
1 Sep 2024 14:27:53 EDT (-0400)
  artifacts, media, blobpattern, blob  
From: ingo
Date: 28 Mar 2001 07:35:40
Message: <Xns907294BC87C6seed7@povray.org>
In the scene below, I get a lot of black artifacts.
Uncommenting strurm in the BBB1 object makes it worse.
Increasing the radius of the spheres in BBB1 mutch makes it better.
Using box instead of BBB1 makes the artifacts dissapear.
Also the brightnes of the emitting media doesnt look right.
What causes al this?

sorry for the long code:


#version unofficial MegaPov 0.7;
global_settings {
   assumed_gamma 1.0
   max_intersections 25
}
camera {location <0,0.5,-1.5> look_at <0,0.5,0>}

#declare Pos = spline { 
   cubic_spline
   -1  , <0   , 0  , 0>
    0  , <0   , 0  , 0>,
    0.3, <0.08, 0.3, 0>,
    1  , <0.06, 1  , 0>,
    2  , <0.1, 1.5 , 0>
}

#declare BBB= blob {
   threshold 1
   #declare I=0;
   #while (I <=1)
      sphere {Pos(I), 0.06, 0.3}
   #declare I=I+0.02;
   #end
}

#declare BBB1= blob {
   threshold 1
   #declare I=0;
   #while (I <=1)
      sphere {Pos(I), 0.06, 0.8}
   #declare I=I+0.02;
   #end
   //sturm
}

object {
   //box{-1,1}
   BBB1
   hollow 
   pigment {rgbt 1}

   interior {
      media {
         method 3
         intervals 1
         samples 3,3
         //aa_level 5
         //aa_threshold 0.05
         emission 5
         density {
            blob {
               threshold 0
               max_density 1
               blob {
                  BBB
                  strength 1
               }
            }
            colour_map {
               [0, rgb 0]
               [0.5, rgb <1,1,0>]
               [1, rgb <0,1,0>]
            }
         }
      }
   }
}


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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