I'm able to load in a model using assimp with:
SceneNode _sceneModel = new Importer().Load(path).Root;
This seems to load in the geometry into its separate meshes - for instance if in Maya you built a room with Wall_1, Wall_2, Wall_3, etc. the SceneNode is some kind of data structure with all the meshes.
The separate meshes can then be put into an array
geometry = _sceneModel.Traverse().Where(x => (x is MeshNode)).Select(m => ((MeshNode)m).Geometry).ToArray();
But ultimately I just want to bind the entire single piece of geometry (eg a house) in xml to
<MeshGeometryModel3D>
but can't figure out how to do it. I can bind a single piece of geometry eg. from the geometry array I can bind geometry[1] which might represent a wall but can't workout how to bind the whole thing.
Thanks