From: Issac Trotts <ijtrotts@ucdavis.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] OpenGL
Date: Fri, 9 Apr 2004 05:52:02 -0700 [thread overview]
Message-ID: <20040409125202.GA14834@mev> (raw)
In-Reply-To: <200404082325.33350.jdh30@cam.ac.uk>
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
next prev parent reply other threads:[~2004-04-09 12:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-08 15:11 Jon Harrop
2004-04-07 16:07 ` Issac Trotts
2004-04-08 16:35 ` Jon Harrop
2004-04-08 20:19 ` Issac Trotts
2004-04-08 20:46 ` [Caml-list] Re: Triangle (was: OpenGL) Christophe TROESTLER
2004-04-08 22:25 ` [Caml-list] OpenGL Jon Harrop
2004-04-09 1:45 ` Brian Hurt
2004-04-09 2:57 ` Brandon J. Van Every
2004-04-09 10:57 ` Jon Harrop
2004-04-09 16:12 ` Brian Hurt
2004-04-10 4:32 ` Brandon J. Van Every
2004-04-10 4:59 ` Kenneth Knowles
2004-04-10 8:17 ` Nicolas Cannasse
2004-04-11 6:20 ` Brian Hurt
2004-04-11 8:10 ` skaller
2004-04-11 9:23 ` Brandon J. Van Every
2004-04-11 12:08 ` Jon Harrop
2004-04-11 12:01 ` Jon Harrop
2004-04-09 12:52 ` Issac Trotts [this message]
2004-04-08 16:37 ` Anil Madhavapeddy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040409125202.GA14834@mev \
--to=ijtrotts@ucdavis.edu \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox