You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The camera clipping range does not behave as expected when rendering a scene in AR/VR with WebXR.
Steps to reproduce
Set a nontrivial clipping range
camera.setClippingRange(min, max);
Launch scene in AR or VR
Move close to / away from actors in the scene to test clipping
Detailed behavior
Two behaviors have been observed, not clear what causes one or the other:
Manually set clipping range is entirely ignored and is very large
Clipping range behaves as though the near clip was ~0 and the far clip was ~(max -min). The scene actor does not clip until the camera moves to and intersects with it regardless of the min clipping range value, or the actor clips out of scene when the camera is at a distance approximately (max - min) away from the actor.
Expected behavior
The model clips out of scene when the camera is (min) distance away.
The model clips out of the scene when the camera is (max) distance away.
High-level description
The camera clipping range does not behave as expected when rendering a scene in AR/VR with WebXR.
Steps to reproduce
Detailed behavior
Two behaviors have been observed, not clear what causes one or the other:
Expected behavior
Environment
master
xref discussion in #2322.
The text was updated successfully, but these errors were encountered: