POV-Ray : Newsgroups : povray.binaries.images : Beveled_Box.inc : Re: Beveled_Box.inc Server Time
29 Jul 2024 22:26:53 EDT (-0400)
  Re: Beveled_Box.inc  
From: MichaelJF
Date: 5 Sep 2013 15:15:00
Message: <web.5228d7334f6fbf057012c190@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote:
> I don't know why it won't work in difference, intersection and merge statements,
> though. I very carefully defined all objects' insides and outsides. Clipping
> works. Proximity patterns don't :(
>
> Sam

I'm still guessing a bit too. But as all I can see, you have a union of a lot of
"two-dimensional" meshes which are all not closed. Only the union of this meshes
is closed. Usually csg operations work with meshes only if they are closed, have
no holes and an inside vector. You are using a collection of meshes
which all have a "hole", since they are not closed. I know the maths will be
very much harder, but try to create only one mesh putting the transforms of your
"quads" into the calculation of the vertices of the quads themselves. This will
result in a lot of duplicate vertices but may work.

Another idea is to have one (and a second for the rounded version) reference
mesh and transform the vertices within proper groups due to your desired
proportions. You can create even an uv-mapping which musn't be changed due to
the transformations.

Anyway, a very good work.

Best regards,
Michael


Post a reply to this message

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