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
26 Jun 2024 08:27:46 EDT (-0400)
  Re: 3D Glass-like block and problem with inner faces  
From: Alain
Date: 26 Nov 2014 14:53:32
Message: <54762fbc$1@news.povray.org>

>> Here is a very simple example with just two cubes which share a common
>> face:
>>
>> Link to the image:
>> https://www.dropbox.com/s/rfkcvxlerko3qmw/Mesh2%28merged%29.png?dl=0
>>
>> I have used the "merge" function to merge the two cubes, but as you
>> can see,
>> the shared inner face still appears.
>>
>> I have defined two cubes as follow:
>
> You must add an "inside_vector" to the mesh2 objects if you want to use
> them in CSG (eg merge). Try adding "inside_vector y" to each mesh2 and
> the inner face should be gone.
>

Not needed.

The inside_vector is required for difference and intersection to work 
properly with meshes, not for union/merge.
You can use a naked triangle or a polygon in any union/merge without any 
isue.


Post a reply to this message

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