POV-Ray : Newsgroups : povray.general : Hmm... bug concerning radiosity, fresnel reflections, layered textures and intersecting objects... : Hmm... bug concerning radiosity, fresnel reflections, layered textures and intersecting objects... Server Time
5 Aug 2024 14:19:19 EDT (-0400)
  Hmm... bug concerning radiosity, fresnel reflections, layered textures and intersecting objects...  
From: JRG
Date: 31 Aug 2002 18:13:39
Message: <3d713f93@news.povray.org>
...at the price of one.
Render this simple, dull scene. Can you notice those nice blue patches everywhere?
It is a real puzzle which shows only in certain conditions.
Turn off one of the flags at will and the problem will disappear.
Sorry if this is a known bug (or if it's not a bug at all of course :-).

#version 3.5;

global_settings {
  radiosity { recursion_limit 2 }
  ambient_light 0
}

box {-1,1
  scale 12
  pigment {rgb 1}
}


light_source {
  <0,2,0>
  rgb 0.7
}

#declare IOR = true;
#declare FRESNEL = true;
#declare CONSERVE_ENERGY = true;
#declare LAYERED_TEX = true;
#declare INTERSECTING_SPHERES = true;


#declare glass_mat =
material {
  #if (LAYERED_TEX)
  texture {pigment {rgbf 1}}
  #end
texture {
  pigment {
    rgbf 1
  }
  finish {
    reflection {0.2,1
      #if (FRESNEL) fresnel on #end}
    #if (CONSERVE_ENERGY) conserve_energy #end
  } }
  interior {
    #if (IOR) ior 1.5 #end
  }
}

union {
  #if (INTERSECTING_SPHERES)
sphere {
  -x/2,1}
sphere {
  x/2, 1}
#else
sphere {
  -x, 1}
sphere {
  x, 1}
#end
material {
  glass_mat}
}


camera {location <0,8,-8> look_at 0 angle 80}

//----end of code

--
Jonathan.


Post a reply to this message

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