Sceneform-android-sdk: Feature request: Human friendly Camera API for SceneView

Created on 20 Mar 2019  路  2Comments  路  Source: google-ar/sceneform-android-sdk

Hi,

Currently we are not allowed to modify various camera parameters while in the SceneView. What is possible is to set the near and far planes, and albeit a warning is raised, to set the projection matrix. However the Filament Camera class (https://github.com/google/filament/blob/master/filament/src/Camera.cpp) is quite rich and some of the functions may be exposed. For example the corresponding Camera class in iOS SceneKit has much friendlier API - https://developer.apple.com/documentation/scenekit/scncamera. I have implemented the functionality that we need (orthographic projection and scale) using the projection matrix but I don't like to do that manually. I think at least the Camera API should allow us to set the view volume (l,r,b,t,n,f), perspective / orthographic option, orthographic scale, and horizontal/vertical field of view for perspective.

Thanks.

feature request

Most helpful comment

+1 on this.

All 2 comments

+1 on this.

+1 and we need build-in camera control gesture for SceneView to orbit object.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arilotter picture arilotter  路  3Comments

yashvv picture yashvv  路  3Comments

Brian-Kwon picture Brian-Kwon  路  3Comments

LukasStancikas picture LukasStancikas  路  3Comments

hcjung2000 picture hcjung2000  路  3Comments