Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Inconsistent results in 3D booleans on Nef

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Inconsistent results in 3D booleans on Nef


Chronological Thread 
  • From: Bart Janssens <>
  • To:
  • Subject: Re: [cgal-discuss] Inconsistent results in 3D booleans on Nef
  • Date: Fri, 30 Jan 2009 09:51:26 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=Mry6eCbAqfDKrRRTbdO8Ba86p1pCZ6PWMmQabkvR0lDk1/OJcsK1wfwSj8CBJPmZQZ MQefqCu3L+fAkDWOMLh2jdzG+u3BLiKL0R0d5LyiXgn1dVvC0jFY63O6P9UCMuIE/kOV F2MepjE87IlKJkh/dY95zueXFUgiY7M/50W8w=

On Thu, Jan 29, 2009 at 7:04 PM, Peter Hachenberger
<>
wrote:
> there are actually two sources of randomness in the construction of Nef
> polyhedra, which cause
> the orders of vertices, edges, facets, etc. to be inconsistent. I have one
> client who explicitly asked
> me to remove it, which I did for him. But it's still in the class as
> provided by us. That's on purpose.
> We use a search data structure that uses randomness to guarantee a good
> running time with
> an extremely high probability. Is this a problem?

Hi Peter,

Unfortunately, for K-3D it is a big problem. Due to the "pipelined"
architecture, any modifiers that are applied to the mesh after a
boolean operation rely on the order of the facets, edges and vertices.
For example, an extrude modifier is applied to face 3. When the
document is reloaded, the "pipeline" is executed, which means the
boolean is executed again, and then the extrusion. If face 3 is
another face now, the document will not look the same anymore.

This is in fact the reason why we moved away from GTS to CGAL, since
somewhere deep inside GTS points are ordered by memory pointers, which
resulted in (unfixable) inconsistent results. For us, it would be very
nice if there were an option to switch the randomness off.

Cheers,

--
Bart



Archive powered by MHonArc 2.6.16.

Top of Page