From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA09665; Fri, 9 Apr 2004 14:52:50 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA10205 for ; Fri, 9 Apr 2004 14:52:49 +0200 (MET DST) Received: from host1.stonesfair.com (host1.stonesfair.com [208.184.191.145]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i39Crhjq019728 for ; Fri, 9 Apr 2004 14:53:44 +0200 Received: from mev (63-217-154-71.greystoneapts.com [63.217.154.71]) by host1.stonesfair.com (8.12.8/8.12.8) with ESMTP id i39CZSdP017622 for ; Fri, 9 Apr 2004 05:35:28 -0700 Received: from ijtrotts by mev with local (Exim 3.35 #1 (Debian)) id 1BBvUI-0003wm-00 for ; Fri, 09 Apr 2004 05:52:02 -0700 Date: Fri, 9 Apr 2004 05:52:02 -0700 To: caml-list@inria.fr Subject: Re: [Caml-list] OpenGL Message-ID: <20040409125202.GA14834@mev> Mail-Followup-To: ijtrotts@ucdavis.edu, caml-list@inria.fr References: <200404081611.25475.jdh30@cam.ac.uk> <200404081735.48692.jdh30@cam.ac.uk> <20040408201909.GC13940@mev> <200404082325.33350.jdh30@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404082325.33350.jdh30@cam.ac.uk> User-Agent: Mutt/1.3.28i From: Issac Trotts X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 issac:01 trotts:01 ijtrotts:01 2004:99 2004:99 issac:01 trotts:01 lablgl:01 lablgl:01 distro:01 jacques:01 camlgl:01 callbacks:01 quake:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 213 On Thu, Apr 08, 2004 at 11:25:33PM +0100, Jon Harrop wrote: > On Thursday 08 April 2004 9:19 pm, Issac Trotts wrote: > > What it is about lablGL that means it can never be made to work? > > I'll give some background information first. The GLU tesselator accepts a > polygon (as a list of contours) and a winding rule. It uses this to generate > a set of non-overlapping OpenGL primitives (triangles, triangle fans and > triangle strips) which cover the regions in the contours which are deemed to > be interior according to the winding rule. [...] My GLU binding is more general than the one in the LablGL distro. It's in the LablGL CVS repository. You might ask Jacques Garrigue for access. > > That one is called camlgl, which seems to have been abandoned. > > That's the one, yes. I've never used it... > > > I already wrote a binding for GLU using CamlIDL, but I don't recommend > > it since GLU relies so much on callbacks. It would probably be better to > > wrap Jonathan Shewchuck's Triangle code: > > > > http://www-2.cs.cmu.edu/~quake/triangle.html > > That is certainly a very nice looking library, but it seems to be solving a > related but substantially different problem (Delaunay triangulation vs > polygon tesselation)? Shewchuck's program does constrained Delaunay triangulation, so it can tesselate a large class of polygons. In order to get triangle fans and strips, you'd have to run a triangle strip generator on the output. -- Issac Trotts http://mallorn.ucdavis.edu/~ijtrotts (w) 530-757-8789 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners