Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Feature Request: Specify Field of View for SceneView #146

Open
peronecode opened this issue Jun 27, 2018 · 8 comments
Open

Feature Request: Specify Field of View for SceneView #146

peronecode opened this issue Jun 27, 2018 · 8 comments

Comments

@peronecode
Copy link

Hello everyone.

I'm trying to create a scene view for my model and my model got deformed when I'm approximate the camera, see above:
bad_view

There is a correction on camera properties or something else to correct the view?

Thanks.
Regards, Perone.

@gstanlo
Copy link

gstanlo commented Jun 27, 2018

It looks like it is being rendered close to the camera, and the perspective matrix transform is being applied to it. Otherwise it looks correct. If you load a different model, does it look incorrect?

@EugenioMiolo
Copy link

Hi @gstanlo

On the same subject, is there any easy way to change the camera fov in sceneForm? From the documentation the "closest" thing I can see is by passing the full projection matrix, which frankly is plain insane IMO. Also, there's zero info about how it expects this matrix to be. What is the projection matrix for a camera fov of 20º for instance?

Regards,
Eugenio

@malik-at-work malik-at-work added question feature request New feature or request and removed question labels Oct 10, 2018
@malik-at-work
Copy link

Tracking this as a feature request for setting a FOV in SceneView.

@malik-at-work malik-at-work changed the title Build Scene - Deformed Model Feature Request: Specify Field of View for SceneView Oct 10, 2018
@gdamoreira
Copy link

Hi @malik-at-work there are some prevision to this feature?

Thank you.

@fharold
Copy link

fharold commented Jan 24, 2019

Hi @malik-at-work ,

Any update ?

Thanks

@smushy129
Copy link

@malik-at-work looking for an update on this too!

@malik-at-work
Copy link

The code is in for this in an upcoming release. Note the new API will only allow this for 3D scenes however. The projection matrix in AR mode matches the camera.

@smushy129
Copy link

thank you! this fix worked

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants