can sceneform show boundingbox lick this:

There currently is no debug functionality for showing the bounding box of a node. However, you can write some code to render the bounds yourself like this:
// Create the andy and add it to the anchor.
Node andy = new Node();
andy.setParent(anchorNode);
andy.setRenderable(andyRenderable);
// Create node to display the bounds of the andy
Node boundsNode = new Node();
boundsNode.setParent(andy);
MaterialFactory.makeTransparentWithColor(this, new Color(0.8f, 0.8f, 0.8f, 0.5f))
.thenAccept(
material -> {
Box box = (Box) andyRenderable.getCollisionShape();
Renderable renderable =
ShapeFactory.makeCube(box.getSize(), box.getCenter(), material);
renderable.setCollisionShape(null);
boundsNode.setRenderable(renderable);
});
closing due to inactivity.
The code above is a good start!
Change the following line:
Renderable renderable = ShapeFactory.makeCube(box.getSize(), box.getCenter(), material);
box.getSize() and box.getCenter() are Vector3(x, y, z) objects. So you can manipulate your cube into a line (or edge), then position each line accordingly (ex. new Vector3(box.getCenter().x + box.getSize().x/2, box.getCenter().y, box.getCenter().z))
@dsternfeld7
But this relies on a renderable having a CollisionShape, and currently only Box and Sphere shapes are supported. More importantly, CollisionShapes have to be created by the developer anyway. Is there any way to get the "extents" or "size" of an unknown/arbitrary model in code?