12-09-2021, 11:47 AM
Ok solved deleting 32 bit version of assimp from bin folder and update assimp to latest version.
Noew there is another problem.
With the old version of assimp i can read with assimpwpfimporter and get a geometrymodel like:
With the last version the code gives me an error (cannot cast objects 'System.Windows.Media.Media3D.Model3DGroup' on 'System.Windows.Media.Media3D.GeometryModel3D)
Why?
how i can read geometry from 3dmodelgroup?
Noew there is another problem.
With the old version of assimp i can read with assimpwpfimporter and get a geometrymodel like:
Code:
Dim readmodel3d As GeometryModel3D = AssimpWpfImporter.ReadModel3D(mfile)With the last version the code gives me an error (cannot cast objects 'System.Windows.Media.Media3D.Model3DGroup' on 'System.Windows.Media.Media3D.GeometryModel3D)
Why?
how i can read geometry from 3dmodelgroup?

