12-04-2019, 04:05 PM
(12-04-2019, 12:14 PM)abenedik Wrote: Your 3D objects are probably organized in a hierarchical way - when you apply a transformation to a parent object, it will also transform all the child objects.
To get an overview of how your 3D objects are organized, I would recommend you to put a breakpoint after a line when you read the 3D object from file. Then start your application and when breakpoint is hit, open the Visual Studio Immediate window and then start the following:
readmodel3d.DumpHierarchy()
This will show you the hierarchy of the objects defined in the file.
Btw. why do you create the readmodel3d as Model3DGroup?
You could just use:
Code:Dim readModel3D = assimpWpfImporter.ReadModel3D(mfile)
modelarray.Content = readModel3D
I'tried, but the immediate window says 'DumpHierarchy() is not a member of Model3d' !!
HELP!

