wingo
09-25-2008, 08:44 AM
Hey guys, I'm working with a polygon being generated depending on where the nearZ plane intersects other polygons in my scene.
First, I've got a question about NearZ. I altered the value in gluPerspective from 0.1 to 5.0 and my scene wasn't clipped any sooner as I advanced my 'camera'. Is there a way to make that happen?
Now, about this 'nearZ plane' intersecting polygons in my scene. Is there a way to find out the coordinates of where it cuts(preferably on the edges) the polygons.
I'd like to use these intersection points as vertex points to generate a new polygon.
If there's no sure way, what are the coordinates of the nearZ plane? That way i could just use vector math to find those vertex points, right?
Thanks guys
First, I've got a question about NearZ. I altered the value in gluPerspective from 0.1 to 5.0 and my scene wasn't clipped any sooner as I advanced my 'camera'. Is there a way to make that happen?
Now, about this 'nearZ plane' intersecting polygons in my scene. Is there a way to find out the coordinates of where it cuts(preferably on the edges) the polygons.
I'd like to use these intersection points as vertex points to generate a new polygon.
If there's no sure way, what are the coordinates of the nearZ plane? That way i could just use vector math to find those vertex points, right?
Thanks guys