Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Nef Polyhedron with color faces

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Nef Polyhedron with color faces


Chronological Thread 
  • From: Ravi Kumaran <>
  • To: "" <>
  • Subject: Re: [cgal-discuss] Nef Polyhedron with color faces
  • Date: Tue, 3 May 2011 15:22:30 +0530 (IST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dUqtGbs8gAP2zozj+4iQJW8oBACQth3GktSsT1Xtw8TzL42mSjqSW9DSlDBDx+lWAo3Bs1Gxiz/DlN5LatjlPnxzpbu6NgZoHraIlNraeg44GWDpAq0hVD4btZ/Dz2u2QzAyQT2h0GK5N3lTbR/LKOThhsmHzYcm92LFXfh6CQA= ;

 
>This is not easily doable
>(this imply hacks on non-documented stuff, and I am not even sure it will
>work as expected).

>If you describe why you need "color" in faces (and what expect in the
>output), we may provide an alternative solution
.
Thanks for the response. I've a small CAD program that shows different solid
shapes which have different user selected colors. User can fuse more than one
such solids with each other, I try to accomplish that by converting the solid
polyhedra to Nef polyhedra and then performing union operation. Since there
is no way to maintain the color information of faces as they pass through Nef
polyhedra operations, the final solid will have to be shown in a single
arbitrary color. This is not a big problem if the user's ultimate goal is
mainly solid modelling or 3D printing. But the colors are important if the
goal is 3D scene design/ visual effects etc.

Could you point me in any particular direction, regarding the possible hack
you mentioned?

Thanks.
--
Ravi



Archive powered by MHonArc 2.6.16.

Top of Page