Jump to content

Near/Far Clipping Planes


photo

Recommended Posts

Hi all,

 

Does anyone know of a way to fully clip (or render) complete nodes/meshes in the scene that partially intersect near/far camera clipping planes?

 

For example, objects that partially intersect the far clipping plane for the player object are currently getting cut in half - I'd like to instead show the entire object if any part of it hits the clipping plane.

 

Any help/ideas would be much appreciated.

 

Thanks,

Simon

Link to comment

Usage of object per-surface Object::setMin/MaxVisibleDistance() might do the trick. Setting properly calculated object per-surface min/max distance based on surface bounding radius and configured near/far plane distance could be used to completely hide/show surfaces close to the clipping planes, even though this will not be 100% precise and also cumbersum to configure/tune properly.

Link to comment
×
×
  • Create New...