Game Development Community

Near Plane Clipping Problems

by Richard Preziosi · in Torque Game Engine · 11/11/2009 (3:12 am) · 1 replies

Seems I'm littering the forum here lately with questions/problems, but here we go again.

I'm having trouble when I keep the camera in first person when a player dies, I get it to funciton properly. However, when the player hits the ground it culls/clips the terrain infront of the camera and lets you see through the terrain. I'm using the standard orc model that came with the engine. I'm not sure if this issue is due to how the model is set up, or if it's a script or code problem. Gonna continue to figure this out, but if anyone knows a solution please let me know.

Thanks

#1
11/11/2009 (3:23 am)
I have a feelng this is going to be a near plane clipping issue, which means it's gonna be tricky to the point of almost impossible to fix due to any fix causing z fighting issues, am I correct in this assumption?

Edit: I attempted to change the nearplane, tried 0.0f and that just made nothing but the skybox visible, then i tried 0.01f, and that made no difference from 0.1f, am I going about this wrong?

I searched around and didn't find anything, is there no way to set the near clipping plane to a slightly negative number, where it will render things to just behind the camera, I don't see the point in clipping things off that are just slightly infront of it. I've never seen anything like this in any game I have ever played. i've even noticed that as some points in animation arms get cut off due to this clipping plane as well.