Subject: CGAL users discussion list
List archive
- From: Ariel Baez <>
- To:
- Subject: Re: [cgal-discuss] Problems drawing Delaunay Triangulation
- Date: Tue, 8 Dec 2009 12:27:24 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NbxHzl60XOGkkwWNH8/zLr4/hewvbKluxWdOCMvA1+ugBtQF/hqpUVEuuIj2dBBPqm mZsjjjMZmSdms8c7wlYRiF/htSVG2hLxG0Ao1rrUrp5FtEiAmEuRUCLKFzcH0GH2xQ0t fRSWILVNUdxYloDEnG2Jtne79m+Rm1vtak+CI=
Going from memory, but when drawing the triangles if you are drawing a bunch of them, OpenGL needs three points for the first triangle, but only needs an additional point for the next triangle, since OpenGL will use point #2 and point #3 of your first triangle for the first two points of the next triangle. This can be turned off, but I dont recall exactly how this is performed (GL_PROPERTY)
Again going from memory.
Hope this helps.
AB
On Tue, Dec 8, 2009 at 8:00 AM, Laurent Rineau (GeometryFactory) <> wrote:
On Tuesday 08 December 2009 12:08:14 wrote:If you would have told us you wanted to compute and draw a terrain, we would
> Hello everybody.
> I find a aswer to my problem in terrain draw. Posting the solution for
> others use.
have told you to use 2D triangulations.
There is even an example about the compuation of terrains, in CGAL. See:
http://www.cgal.org/Manual/last/doc_html/cgal_manual/Triangulation_2/Chapter_main.html#Subsection_33.5.2
It uses the traits class CGAL::Triangulation_euclidean_traits_xy_3<K> that
applies 2D predicates on 3D points.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] Problems drawing Delaunay Triangulation, dsilva.vinicius, 12/05/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Laurent Rineau (GeometryFactory), 12/05/2009
- Re: Re: [cgal-discuss] Problems drawing Delaunay Triangulation, dsilva.vinicius, 12/05/2009
- Re: Re: Re: [cgal-discuss] Problems drawing Delaunay Triangulation, dsilva.vinicius, 12/08/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Laurent Rineau (GeometryFactory), 12/08/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Ariel Baez, 12/08/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Laurent Rineau (GeometryFactory), 12/08/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Ariel Baez, 12/08/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Laurent Rineau (GeometryFactory), 12/08/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Ariel Baez, 12/08/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Laurent Rineau (GeometryFactory), 12/08/2009
- Re: Re: Re: [cgal-discuss] Problems drawing Delaunay Triangulation, dsilva.vinicius, 12/08/2009
- Re: Re: [cgal-discuss] Problems drawing Delaunay Triangulation, dsilva.vinicius, 12/05/2009
- Re: [cgal-discuss] Problems drawing Delaunay Triangulation, Laurent Rineau (GeometryFactory), 12/05/2009
Archive powered by MHonArc 2.6.16.