Hi,
I have built a rudimentary 3d engine. All was going well until I implemented a clip frame. Now when I rotate objects im getting some strange warping effects.
I thought I would post some videos to see if anyone had any idea what was happening before posting code.
The model in the video is a torus (believe it or not). Camera set in the middle of it. The torus should rotate around the camera. Half of it off scene - Im clipping triangles if any vertex has a point outside the clipping area.
Here are the clips:
Rotating around bank (z) preserves the geometry for a little while:
Similarly to pitch (x):
Rotating around all Euler Angles:
I'm hoping someone has encountered similar and can point me in the right direction.
Many thanks in advance.