Clipping planes are destroying my 3d models. The surfaces are being chopped up related to the value of the near_clip attribute. I created a hack to work around this, but was wondering if there’s a way to just turn off clipping planes and be able to zoom and move the camera wherever I want without the surfaces of the model distintegrating? I’ve found very limited info on glEnable and glDisable regarding this, but not enough to know what to implement correctly.
Images below are examples of the destruction clipping planes are causing. The first is how the model should look. The second is the effect the clipping plane is having. Has anyone else experienced this?
You can’t in the strictest sense turn "off" clipping planes. The planes tell OpenGL where to start and stop rendering if not to infinity… And as we all know, infinity in computer speak is crash and burn. OpenGL may have safeguard to prevent it, but why take the performance hit?
Can you just adjust the clipping planes to compensate? And move the camera and/or model’s z values?