Re: [osg-users] Newbie question about concave polygons

2008-04-24 Thread Glenn Waldron
Rick, Can you post an image of what you are seeing? I ran your code (without the setBoundaryOnly line) and it seems to render correctly. Screenshot is attached. Glenn On Wed, Apr 23, 2008 at 3:34 PM, R Schwantes [EMAIL PROTECTED] wrote: Hi list, I've been a long time lurker. Finally have

Re: [osg-users] Newbie question about concave polygons

2008-04-24 Thread R Schwantes
Thanks for the input. I first tried using GL_TRIANGLES, incorrect output was 2 triangles. Then I read Glenn's response and tried my code on a different computer, and it worked fine. So now I'm left wondering what is wrong with my computer? I deleted osg and rebuilt ver 2.2.0, updated the driver

Re: [osg-users] Newbie question about concave polygons

2008-04-24 Thread Robert Osfield
Hi Rick, On Thu, Apr 24, 2008 at 4:31 PM, R Schwantes [EMAIL PROTECTED] wrote: So now I'm left wondering what is wrong with my computer? I deleted osg and rebuilt ver 2.2.0, updated the driver for my Nvidia GeForce 8600GTS, still no success. Are their any known issues simialr to this?

Re: [osg-users] Newbie question about concave polygons

2008-04-24 Thread Mike Weiblen
from a quick look, it appears your geometry is just two adjacent quads (ie 4 triangles), no? No need to invoke a tesselator for a concave polygon. Just use 3 verts for each of the 4 triangles (12 verts total) and draw as GL_TRIANGLES. cheers -- mew On Wed, Apr 23, 2008 at 2:34 PM, R Schwantes

[osg-users] Newbie question about concave polygons

2008-04-23 Thread R Schwantes
Hi list, I've been a long time lurker. Finally have some free time to get my hands dirty with OSG. I'm new to computer graphics, and so far its definitely been an adventure. I'm stuck trying to draw a concave polygon, it looks like I need to use tessellation to break the geometry down into