www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Libraries for Model Loading

reply Ruby The Roobster <michaeleverestc79 gmail.com> writes:
Is there a good package available that can load models, Wavefront 
.obj files in particular?  I tried to use the existing bindings 
to old versions of Assimp, but I could not get Assimp itself to 
build on my machine.

Thanks in advance.
Jul 18
next sibling parent IchorDev <zxinsworld gmail.com> writes:
On Thursday, 18 July 2024 at 14:02:09 UTC, Ruby The Roobster 
wrote:
 Is there a good package available that can load models, 
 Wavefront .obj files in particular?  I tried to use the 
 existing bindings to old versions of Assimp, but I could not 
 get Assimp itself to build on my machine.

 Thanks in advance.
Not that I know of, but Wavefront .obj files are pretty simple. You could translate Assimp into D, or make your own simple library for loading them.
Jul 26
prev sibling parent Chance Snow <git chancesnow.me> writes:
On Thursday, 18 July 2024 at 14:02:09 UTC, Ruby The Roobster 
wrote:
 Is there a good package available that can load models, 
 Wavefront .obj files in particular?  I tried to use the 
 existing bindings to old versions of Assimp, but I could not 
 get Assimp itself to build on my machine.

 Thanks in advance.
I would bind to Assimp using [ImportC](https://dlang.org/spec/importc.html).
Jul 26