error adding Assimp64.dll reference
#19
(12-04-2019, 04:15 PM)abenedik Wrote: DumpHierarchy is defined as an extension method for Model3D (in Ab3d namespace).
So to use it, the code that is executing should have "using Ab3d" or and other namespace under Ab3d defined.

You can also use the longer way to get the dump string (in c#):
string infoText = Ab3d.Utilities.Dumper.GetObjectHierarchyString(model3D);
System.Diagnostics.Debug.WriteLine(infoText);

Ok I've done. This is the writeline:
GeometryModel3D ("__STL_BINARY_")   Material: color: #FFC0C0C0 |  Geometry: Positions: 144; TriangleIndices: 144 (48 triangles); Normals: 144; TextureCoordinates: 0  |  Center: 7.6 -3.6 -5.4  |  Size: 30.3 x 13.3 x 19.8

but i don't see any Hierarchy!
  


Messages In This Thread
RE: error adding Assimp64.dll reference - by kreativasas - 12-04-2019, 04:21 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)