-
Plane Determination
Hi,
I am trying to draw a 3D Polygon here but when I am rotating the Object more than 180 degrees something goes wrong with the polygon ... To fix that problem I tried to use plane determination technique as in the line below:
(when i am setting up the rendering context)
glFrontFace(GL_CW);
(before drawing the polygon)
glEnable(GL_DEPTH_TEST);
Even with these above its not working ....
what's going on ??
Does anybody has very simple example teaching how can I make it ??
-
Re: Plane Determination
What goes wrong?
If the polygon disappares then it could be that you've enabled culling or something.
-
Junior Member
Regular Contributor
Re: Plane Determination
Maybe when you rotate the polygon you get over the near of the far clipping plane. Check them and the coordinates of the polygon.
NewROmancer
-
Advanced Member
Frequent Contributor
Re: Plane Determination
Try drawing front and back face, and yes check your clipping plane in the near and far
gav
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules