zirman / arcore-filament-example-app

ARCore Filament Example App
MIT License
95 stars 15 forks source link

How to make full-screen surfaceview? #3

Closed SGTjeong closed 3 years ago

SGTjeong commented 3 years ago

Thanks in advance for your great example.

I wonder how to make full AR screen.

I tried as below but filament's locating models doesn't seem to work properly

session.setDisplayGeometry(displayRotation, SURFACEVIEW_WIDTH, SURFACEVIEW_HEIGHT)
uiHelper.setDesiredSize(SURFACEVIEW_WIDTH, SURFACEVIEW_HEIGHT)

Thank you!

zirman commented 3 years ago

Hi @SGTjeong , I'm not sure I understand the question. Are you trying to crop the ARCore camera image so that it fits the screen?