Forums > Jitter

tesselation openglcommand

February 19, 2008 | 7:38 pm

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.


February 20, 2008 | 5:44 pm

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


February 20, 2008 | 10:47 pm

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


Viewing 3 posts - 1 through 3 (of 3 total)