Clipping at the Near Plane?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Rusty Rooster
Posts: 11
Joined: Thu May 24, 2018 6:43 pm
Location: USA

Clipping at the Near Plane?

Post by Rusty Rooster »

Hi guys,

If I set camera's near value to say 500

then use camera->getViewFrustum->getNearRightUp() etc to build a "Near Plane" out of 3d Lines

It seems that the actual Z-clipping starts at Z=250, not Z=500.. I can see geometry that I thought would be clipped by the near plane.

I'm not sure why it's like this :shock:
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Re: Clipping at the Near Plane?

Post by devsh »

Are you on OpenGL and 1.8.4, if yes then its a bug I helped to solve CuteAlien.
Post Reply