POV-Ray : Newsgroups : povray.unofficial.patches : Bugs in UVPov 6.1 : Bugs in UVPov 6.1 Server Time
2 Sep 2024 16:17:40 EDT (-0400)
  Bugs in UVPov 6.1  
From: Mark Wagner
Date: 10 Nov 1999 00:11:15
Message: <3828fe73@news.povray.org>
The following scene demonstrates several bugs in UVPov 6.1

As is, only 7 photons are shot while rendering the image, and none are
stored.  If you add the line "falloff 1" to the cylinder light and increase
the
radius of the media sphere to 50, only 7 photons are shot, and none are
stored.  If you increase the radius of the media-containing sphere to 50,
so that it encloses both the camera and the light source, plenty of photons
are shot, but no photons are stored in the scattering media, even though
I specified that UVPov should do so.  Removing the ground plane causes
photons to be stored in the media.

Mark

/////////////////////////////////////////////////////////
plane{y, 0 pigment{ checker color rgb 1, color rgb .5} }

camera{location 11 look_at 0}

#declare phd = 1;
global_settings{
max_trace_level 20
photons{
  gather 20, 100
  radius .1*phd, 2, .1*phd
  autostop 0
  jitter .2
  expand_thresholds 0.2, 40
  max_trace_level 20
  max_media_steps 100
}
}

light_source{ 
x*50 rgb <1,0,0>
cylinder
radius .1
point_at <0,0,0>
}

box{<-2,0,-.1>,<2,1,0>
pigment{rgb 1}
finish{ambient 0 diffuse 0 reflection 1}
rotate y*-45
photons{
  separation 0.005*phd
  refraction off
  reflection on
}
}

difference{
cylinder{0, y*2, 10}
cylinder{y*-.1, y*2.1, 9.9}
box{<10.01, -.001, -1>,<9.5, 2.02, 1>}
pigment{rgb 1}
finish{
  ambient .1
  diffuse 1
}
}

sphere{ //Media to scatter light
0, 11
pigment{rgbt 1}
finish{ambient 0 diffuse 0}
hollow
interior{
  ior 1
  media{
   scattering{ 1, 1 extinction 0}
   method 3   
   intervals 1
   samples 1, 10
  }
}
}


Post a reply to this message

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