POV-Ray : Newsgroups : povray.general : Artifacts with media blobs and CSG boxes : Artifacts with media blobs and CSG boxes Server Time
31 Jul 2024 14:24:41 EDT (-0400)
  Artifacts with media blobs and CSG boxes  
From: Christian Froeschlin
Date: 21 Jan 2007 16:35:00
Message: <web.45b3dbf2f3273a327878ff140@news.povray.org>
Hello,

I have encountered two situations in which the render contains
some pixel artifacts (and it doesn't seem to be incident surfaces
or maximum trace level). Tested using POV-Ray 3.6 and Mega-Pov 1.2.1
on Windows XP, minimum sample code for each case is included below.

Also, does anyone else have problems logging into the forums?
I couldn't log in using Netscape 7.2, and after resorting to
IE6 (*shudder*), I was prompted to login again after clicking
"Preview" and lost the message text on the first attempt.


Case 1: Transparent blobs filled with media, you should see some
        black pixels near the top of the white blob. Adding the
        sturm keyword makes matters a lot worse.


global_settings
{
  assumed_gamma 1.0
  max_trace_level 10
}


camera
{
  location  <0.0, 1.0, -5.0>
  look_at   <0.0, 1.0,  0.0>
  angle 90
}

light_source {< -10,  10, -10> color rgb 1}

blob
{
  threshold 0.6
  sphere {0, 5, 1 scale <1, 0.3, 1>}
  sphere {0, 1, 1 scale <1, 0.8, 1> translate y}

  hollow pigment {color rgbt 1}

  interior
  {
    media
    {
      scattering {1, color rgb 0.5}
    }
  }
}


-------------------------------------------------------------------


Case 2: Box which has been subtracted from twice in CSG difference
        operations (even if 0 objects were subtracted, but only if
        some other objects are around, so the code below looks a
        bit silly). You should see a lot of white pixels in the
        box edges, although everything should be ambient level.


global_settings
{
  assumed_gamma 1.0
}

camera
{
  location  1
  look_at   0
}

light_source {< -10,  10, -10> color 50}

sphere {5,0.1}  /* Dummy object */

difference
{
  difference
  {
    box {0, 2}
  }
  pigment {color rgb 1}
}

sphere {5,0.2} /* Dummy object */


Post a reply to this message

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