Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    6
  • comment
    1
  • views
    867

QLMesh 2.0 and Asset Import Library

piecuch.p

708 views

For QLMesh (and some other projects), I am running my own fork of Asset Import Library.  The difference: it is amalgamated build - all sources are merged into one file (including dependencies). Since Assimp recently switched to miniz, I have replaced remaining references to zlib with miniz - so zlib is not required too.

drwxr-xr-x  85 piecuchp  staff     2890 Jan 17 23:34 assimp
-rw-r--r--   1 piecuchp  staff  4921627 Jan 17 23:34 assimp.cpp
-rw-r--r--   1 piecuchp  staff  2893785 Jan 17 23:34 private\assimp.h

 

Everything you need to buid the assimp is:

g++ -c -std=c++11 code-portable/assimp.cpp

or just add assimp.cpp to your project/IDE (you can find code-portable directory in my repo.

One disclaimer: I have only tested this amalgamation under OSX with QLMesh). Main reason for this amalgamation is that it makes compilation/recompilation on different platforms with different configurations rather easier.

Side-effect is that single-file assimp.cpp compiles really fast (like 10x faster on my MacBook than original project files).

(http://pawelp.ath.cx/)(http://komsoft.ath.cx/)(https://itunes.apple.com/us/app/qlmesh/id1037909675)

model2-9.jpg



1 Comment


Recommended Comments

Neat little thing, all in two files. But it doesn't work out of the box on non Mac platforms. Do you mind making it work for other platforms as well?

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!