Sceneform-android-sdk: Feature Request: Specify Field of View for SceneView

Created on 27 Jun 2018  路  8Comments  路  Source: google-ar/sceneform-android-sdk

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.

feature request fixed in upcoming release

Most helpful comment

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.

All 8 comments

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?

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

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

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

Thank you.

Hi @malik-at-work ,

Any update ?

Thanks

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

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.

thank you! this fix worked

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michaelvogt picture michaelvogt  路  4Comments

JessHolle picture JessHolle  路  3Comments

chiaolinghong3d picture chiaolinghong3d  路  3Comments

PaulTVungle picture PaulTVungle  路  3Comments

dementia2029 picture dementia2029  路  3Comments