Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D-object import in Ad4b Engine
#1
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!
  


Messages In This Thread
3D-object import in Ad4b Engine - by hiii - 02-06-2025, 01:01 PM
RE: 3D-object import in Ad4b Engine - by abenedik - 02-06-2025, 01:11 PM
RE: 3D-object import in Ad4b Engine - by abenedik - 02-20-2025, 12:16 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)