Posts
Search
Contact
Cookies
About
RSS

Libgdx v1.0 getting closer!

Added 8 Nov 2013, 4:09 p.m. edited 19 Jun 2023, 3:38 a.m.

As version 1.0 nears the 3d side of the platform is taking solid shape, there have been some code breaking changes but they have definitely been worth it... The changes have been explained previously on the libgdx blog as well as Xoopa's blog, which while not a comprehensive manual is well worth a read. I've taken the code from a previous post and updated and improved it to reflect the changes with the new API, just for LOL's I added a static mesh as a terrain instead of a less than interesting ground plane. The one thing I did note is that the OBJ loader does seem to have problems with some blender exported OBJ's, I tried out the fbx-conv utility and that seems much better at material parsing. A little tip if you don't want to install the utilities library is to run it like this:

LD_LIBRARY_PATH=. ./fbx-conv-lin64 -v ../path/to/your/data/some.obj
fbx-conv will leave the converted g3db file in the same directory as the obj file, if you don't specify an output filename There are some minimal comments in the code and between my previous posts and Google you should find the included working example fairly easy to follow (its quite small) Enjoy! gdxBulletRedux.tar.bz2