POV-Ray : Newsgroups : povray.general : 3D Glass-like block and problem with inner faces : Re: 3D Glass-like block and problem with inner faces Server Time
17 Jun 2024 09:15:39 EDT (-0400)
  Re: 3D Glass-like block and problem with inner faces  
From: Stephen
Date: 26 Nov 2014 08:57:10
Message: <5475dc36$1@news.povray.org>
On 26/11/2014 13:22, Saman wrote:
> I have used the "merge" function to merge the two cubes, but as you can see,
> the shared inner face still appears.

That is because the face *is* there. You can reduce the impact by making 
the material less reflective. (Also make sure that the max trace level 
is greater than the number of faces that the rays trace).

Think of building your big block with real small glass blocks. You will 
see the insides in Real Life. It is the same with Povray

The only way to get what you want is to do a difference of the big block 
and a scaled (0.999) copy of itself.

#declare CSG1 =
difference {
object{ Big_Block}

object {
Big_Block
scale     <0.999,0.999,0.999>
}

texture{ Glass0 }
}
-- 

Regards
     Stephen


Post a reply to this message

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