# Camera Near Limit

**URL:** <https://forum.techsoft3d.com/t/camera-near-limit/1426>\
**Category:** HOOPS Visualize Desktop\
**Tags:** learn, knowledge-base\
**Created:** [July 29, 2022, 4:00am UTC](https://forum.techsoft3d.com/t/camera-near-limit/1426 "2022-07-29T04:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.peragine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/gabriel.peragine/32/1535_2.png) [@gabriel.peragine](https://forum.techsoft3d.com/u/gabriel.peragine)\
**Post date:** [July 29, 2022, 4:00am UTC](https://forum.techsoft3d.com/t/camera-near-limit/1426/1 "2022-07-29T04:00:00Z")

</div>

Some viewing frustums are bounded by _hither_ and _yon_ planes.

The HOOPS [![](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/364caf8a89cb11aac6d694cc6362820fe6d5e8af.png)Cameras — HOOPS Visualize HPS Documentation 2022.0.0 documentation](https://docs.techsoft3d.com/hps/latest/prog_guide/0303_cameras.html) (3DF [![](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/364caf8a89cb11aac6d694cc6362820fe6d5e8af.png)Cameras — HOOPS Visualize 3DF Documentation 2022.0.0 documentation](https://docs.techsoft3d.com/3df/latest/prog_guide/3dgs/03_2_viewing_modelling_cameras.html) ) use “near limit” which is akin to _hither_ and specifies the position of the view frustum near clipping plane. The _near limit (nl)_ is a parametric value from 0 to 1 between the camera position (i.e. nl = 0.0) and the target (i.e. nl = 1.0).

The default near limit is -0.001. When the value is \< 0, the near clipping plane will be automatically adjusted as close to the camera target as possible, with a minimum of an absolute value of the provided number. This approach generally makes efficient use of z-precision.

There are times when this automatic setting does not produce desired rendering results. For example, consider a scene containing geometry which is excluded from bounding. However, you would like to include it in the view. Assuming you know the size and position of the geometry excluded from bounding, you can calculate the _near limit_ given the camera position and target such that the geometry excluded from bounding is not clipped by the near plane.

 ![image-20220916-190949](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/a8991220bc5265fbda10a3b5a8bf15bfc64a7b64.png)

Further details:

- `SetNearLimit()` [![](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/364caf8a89cb11aac6d694cc6362820fe6d5e8af.png)HPS Cameras — Changing the Camera Near Plane](https://docs.techsoft3d.com/hps/latest/prog_guide/0303_cameras.html?highlight=SetNearLimit#changing-the-camera-near-plane)
- `HC_Set_Camera_Near_Limit()` [![](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/364caf8a89cb11aac6d694cc6362820fe6d5e8af.png)HC\_Set\_Camera\_Near\_Limit — HOOPS Visualize 3DF Documentation](https://docs.techsoft3d.com/3df/latest/api_ref/3dgs/HC_Set_Camera_Near_Limit.html)
