-
GL_CLIP_PLANE
I made a 3D scene and enabled the six opengl's clip planes by calling:
glEnable(GL_CLIP_PLANE0);
...
glEnable(GL_CLIP_PLANE5);
I put a interface to the user interact and clip the scene. It was right, works perfectly.
When you "clip" the scene, its center move away (the direction it moves depends on the clip plane you are moving).
So, I would like to know how could I keep translating my scene based on its center (the up-to-date center), I mean, when you move a clip plane you "reduce" the scene and a new center should be found to rotate based on this new center.
Someone can help me ?!
Thanx a lot,
Rogerio
-
Junior Member
Regular Contributor
Re: GL_CLIP_PLANE
No need to post to both forums.
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