Skip to content

Initial camera position #344

Answered by mkkellogg
fabricDev asked this question in Q&A
Oct 1, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

@fabricDev If you need the center of the splat scene, you could conceivably use SplatMesh.computeBoundingBox(applySceneTransforms, sceneIndex) to first calculate the scene bounds, and then just use the its center. I think you'll most likely want to pass true for the applySceneTransforms parameter, although if that doesn't work you can always try passing false :)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@fabricDev
Comment options

@rowild
Comment options

@fabricDev
Comment options

@rowild
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by fabricDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants