Replies: 8 comments 4 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I need this feature in order to be able to have clean views when I have a 3D reconstruction of a flat/house/home. For example, if I have a room seen from the top, I want to see only the floor, I don't want to see the walls because of the perspective effect. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
Hi. Any update on this topic? Would be really great to have a camera with orthogonal projection. See for example the three.js OrthoraphicCamera object: https://threejs.org/docs/#api/en/cameras/OrthographicCamera Would be really great to have the same in Sceneform or a trick to make the camera orthographic. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Answer here: google/filament#4948 |
Beta Was this translation helpful? Give feedback.
-
If you are on a 3D only (no AR usage), try this: sceneView.getRenderer().getCamera().setProjection(Camera.Projection.ORTHO, double left, double right, double bottom, double top, double near, double far); |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer. I do :
But it doesn't seem to work as it changes nothing to the 3D view. Any idea ? Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I just tried to execute the code at each frame. Tried at the beginning or and of the onUpdate() loop but changes nothing unfortunately. Any clue how to solve this problem ? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi,
The projection is a perspective projection. I wonder how to change the camera projection to othographic/orthogonal.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions