Smart camera parameters

Description of the problem

Smart camera parameters to optimize depth accuracy.
We often see z-fighting issue(rendering is flicking) for many models if camera NEAR-FAR range is not minimum (minimum to cover all geometry)
When using OrbitControl or other controls or camera animation, this NEAR-FAR range should be dynamically updated to avoid rendering issue.

Three.js version
  • [ x] Dev
Browser
  • All of them
OS
  • All of them
Hardware Requirements (graphics card, VR Device, …)

Author: Fantashit

1 thought on “Smart camera parameters

  1. It is the user’s responsibility to avoid small values of the near plane.

    Are you not able to do that for some reason?

Comments are closed.