LWJGL / lwjgl3-demos

Demo suite for LWJGL 3
BSD 3-Clause "New" or "Revised" License
351 stars 89 forks source link

Add demo for loading model with Assimp #12

Closed zhanghai closed 7 years ago

zhanghai commented 7 years ago

This adds a demo for loading model with Wavefront obj and mtl format using Assimp. Rendering with lighting is also implemented in this demo.

I began to use LWJGL3 two weeks ago, but I didn't find any wiki/demo for how to load model with the new Assimp binding, so I referred to tutorials in C++ about Assimp and inspected the source of this binding, which took me a long period of time together with debugging. Hopefully this will make the experience easier for newcomers.

Screenshot: assimp-demo

httpdigest commented 7 years ago

Very nice! Two things:

zhanghai commented 7 years ago