01-11-2022, 08:02 PM
Hi guys,
i need a help!!!
I needed to upgrade assimp to the latest version.
With the oldversion 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 using assimp?
i need a help!!!
I needed to upgrade assimp to the latest version.
With the oldversion of assimp i can read with assimpwpfimporter and get a geometrymodel like:
Code:
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 using assimp?