math3d-react
math3d-react copied to clipboard
Hidden surface removal issue in orthographic projection mode
Some back surface removal seems to be incorrect when using orthographic projection.
Example link: https://www.math3d.org/6A3dX1cX
Chrome screeshot:
Firefox screenshot:
I'm using Windows 10 with Intel i7-8550U CPU and Intel UHD Graphics 620 GPU.
Thanks for reporting this.
Unfortunately, to be honest, I doubt I'll be able to do anything about it any time soon.
The orthographic project mode is really hacky because the underlying graphics library math3d uses (MathBox) never fully supported orthographic mode, I believe. The math3d orthographic mode is not "real" orthographic, it's actually just a dolly-zoomed way far out 😦 I suspect what's happening here is some numeric rounding / z-fighting issues since the objects are actually really far from the camera.