Apr 25, 2012 at 11:19 AM
Edited Apr 25, 2012 at 1:14 PM
Obj.-Files exportet by blender. And you are, of course, completely right concerning the number of geometries in the file. Which is most likely the problem of most models not be shown correctly . For me it seemed to be the easiest way to include lots of models/geometries
and be able to transform them in relation to each other by binding (in Wpf), like moving an arm for example. Somehow it was working just fine for the beta-release of helix toolkit.
Seems that I have to find out how I can bind to different models and transform them the correct way =)
EDIT: I found a workaround:
private Geometry3D LoadFromFile(string objPath)
Model3DGroup group = ModelImporter.Load(objPath);
MeshBuilder TestMesh = new MeshBuilder(false, false);
foreach (var m in group.Children)
var mGeo = m as GeometryModel3D;
var mesh = (MeshGeometry3D)((Geometry3D)mGeo.Geometry);
if (mesh!=null) TestMesh.Append(mesh);
Seems to work fine. Or am I again missing something?
Btw. Again: this toolkit is just great! Whenever I think I just don't now how the hell I should accomplish something I find again some nice method to help. =)