02-06-2025, 01:01 PM
Hello,
I am new to this Ab4D and I am now testing this engine for my next project. I am now trying to import a .glb file of a 3D object.
I have installed Ab4d.SharpEngine.Assimp, Ab4d.Assimp and I am now working with C# so I have downloaded everything the third libary assimp-net-master from https://github.com/assimp/assimp. I also used the sample code from github (Ab4d.SharpEngine.Samples.Common/Importers/AssimpImporterSample.cs).
The loading function of the Assimp library works fine, and I also created the AssimImporter at
var assimpImporter = new AssimpImporter();
return assimpImporter;
But when I try to import the object file with
_importedModelNodes = _assimpImporter.Import(fileName);
I always get null back, even though my file path for my .glb file is readable and accessible.
Can anyone help me with this problem?
Thank you very much!
I am new to this Ab4D and I am now testing this engine for my next project. I am now trying to import a .glb file of a 3D object.
I have installed Ab4d.SharpEngine.Assimp, Ab4d.Assimp and I am now working with C# so I have downloaded everything the third libary assimp-net-master from https://github.com/assimp/assimp. I also used the sample code from github (Ab4d.SharpEngine.Samples.Common/Importers/AssimpImporterSample.cs).
The loading function of the Assimp library works fine, and I also created the AssimImporter at
var assimpImporter = new AssimpImporter();
return assimpImporter;
But when I try to import the object file with
_importedModelNodes = _assimpImporter.Import(fileName);
I always get null back, even though my file path for my .glb file is readable and accessible.
Can anyone help me with this problem?
Thank you very much!