tesselation openglcommand

Feb 19, 2008 at 7:38pm

tesselation openglcommand

hi,
I was playing around with country shapes for a while and ended up
pulling the geoinformation data from public esri files. I have a list of
vertices that form the shapes and I pipe them into jit.gl.sketch to draw
polygons. the problem is, that many shapes are convex and therefore
glbegin filled_polygon does not work correctly.
is there a way to do tesselation inside jitter? is there something like
the glutesselator?
or maybe I am looking for a script that converts these border-outlines
into correctly formatted triangles/triangle_fans.
thanks!
marius.

#35892
Feb 20, 2008 at 5:44pm

having the same problem. anybody out there, who solved this already ? thanx in advance.

#122949
Feb 20, 2008 at 10:47pm

On Wed, Feb 20, 2008 at 5:44 PM, videomasta wrote:

>
> having the same problem. anybody out there, who solved this already ?
> thanx in advance.
>
>
I have recently done this for a project, but as far as I know there is no
quick and easy way. You’ll have to roll your own Jitter ob3d external using
the glut tesselator internally. The opengl redbook as a fairly detailed
description and I also found this to be helpful:

http://www.geocities.com/foetsch/extrude/extrude.htm

Thijs

#122950

You must be logged in to reply to this topic.