Skip to content

Possible bug in Sceneform? #100

Answered by ThomasGorisse
RGregat asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @RGregat,

In fact, from what I think and saw, there is no link between the cameraTextureId and the physical camera id.

Sceneform creates an openGL texture and them tell ARCore to draw the camera image (chosen by ARCore from the camera config) on it.
Then the CameraStream applies the texture to a renderable added to the Filament Scene.
That's how the magical works.

I found this Ticket google-ar/arcore-android-sdk#1170 on the ARCore Repo. This person mentioned a bug inside of GLHelper.java::createCameraTexture:56. Sceneform is always looking for the first camera texture id. But it is possible to set a different camera texture id during the session configuration phase.

Sorry for him but…

Replies: 2 comments 1 reply

Comment options

RGregat
Jun 23, 2021
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@RGregat
Comment options

RGregat Jun 23, 2021
Maintainer Author

Answer selected by RGregat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants