I’d like to present this model in two formats: textured & untextured. By “untextured”, perhaps I mean unshaded, but what I’m looking for is a way to render the model as just a “mesh skeleton” (essentially just as vertices and connected edges). Is this possible to do?
You need to get the material for this. So I think you’ll need to cast it to a geometry which has a getMaterial() method, which may require some searching on the forum but it’s pretty well documented
Thanks @pspeed and @JESTERRRRRR but I guess I’m not seeing the forest through the trees here. I’m loading a single model (OBJ) via assetManager.loadModel(String)…
Wouldn’t that mean the resulting spatial will always be a Geometry?!? How could I load a model and have that be a Node with children?
Quite often. For example, if your model has more than one texture then it is probably two geometries under a node. If it has more than one mesh then it is two geometries under a node.
The case where loading a model results in a single Geometry is the rarer case.