trying orthographic, as perspective projection hits other faces
See original GitHub issueHello, thanks for a really awesome library 😃
In this screenshot, I’m projecting head-on (i.e. the cubes have no rotation), yet on some cubes you can see the material on the top face (on the bottom half of the cubes, and likewise the underside of the top half of the cubes). I suspect this is because I’m using a PerspectiveCamera
.
I see in the example source code that the OrthographicCamera
is commented out. I tried it, but the projection doesn’t work that well.
Is OrthographicCamera
supported? Or is there more to be done?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Backface removal for Perspective Projection - Stack Overflow
as I said this works only for orthographic projection and I'm struggling with other projections. Please any help would be great.
Read more >Orthographic Projection - an overview | ScienceDirect Topics
If this procedure is repeated for other points along the sloping face in the front view then the resulting ellipse in the plan...
Read more >Week 5: Perspective, Lighting
The Perspective matrix projection is a 4x4 matrix transform that converts from eye space to clip space, similar to the Orthographic ...
Read more >About View Projection Modes | AutoCAD
The Perspective with Ortho Faces mode forces all views to be displayed in perspective projection unless the model is being viewed from one ......
Read more >What's the difference between orthographic and perspective ...
Orthogonal is right angles. Perspective projection is a drawing that depicts a three dimensional object on a two dimensional surface.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed the aspect ratio calculation (see PR), but still see “smears” on other faces when projecting head-on, but not too bothered by that right now, so please feel free to close this issue 😃
Not at all 😃 Happy to assist.