Answer the question
In order to leave comments, you need to log in
Is it possible to load an object divided into several into Sceneform 3d?
I'm building an augmented reality app. I import a model from a blender, which contains several parts (head, torso, legs, arms). Sceneform creates an sfb file and in the code I manage the model like this:
ModelRenderable.builder()
.setSource(this, R.raw.robot)
.build()
.thenAccept(modelRenderable ->
{
AnchorNode anchorNode = new AnchorNode(anchor);
transformableNode.setParent(anchorNode);
transformableNode.setRenderable(modelRenderable);
arFragment.getArSceneView().getScene().addChild(anchorNode);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question