POV-Ray : Newsgroups : povray.general : Strange effect in union with interior : Strange effect in union with interior Server Time
5 Aug 2024 14:17:56 EDT (-0400)
  Strange effect in union with interior  
From: Micha Riser
Date: 7 Sep 2002 09:44:51
Message: <3d7a02d3@news.povray.org>
If you render following scene once with INVERSE = 0 and once with INVERSE = 
1 you get two different results. Only the rendering with INVERSE = 1 is 
correct. Inversing the plane should not make any difference though. With 
'0' get some strange internal reflections in the sphere.

The problem is probably somehow related to the interior definition in csg. 
If you put the interior inside the sphere then the result is always correct.

Can anybody confirm this behavior?

- Micha


//begin code
#declare INVERSE = 0;

union {

        sphere{<0,0,6>,2 pigment{rgbt <1,.5,.5,.5>}}

        plane{y,0 
                rotate <33,23,5> 
                translate <0,4,0> 
                pigment{rgb 1} 
                #if (INVERSE)
                inverse
                #end
        }
        
        interior{ior 1.3}       
        
}

light_source{<-3,4,-6>,1}
//end code

-- 
http://objects.povworld.org - the POV-Ray Objects Collection


Post a reply to this message

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