Anyone have experience with LibGDX 3D?

Hi guuuuys ;D

I’m currently bored at home due to finishing University for the year and feel like learning something new, so I thought “Why not look at 3D?”. It will give me a ton of stuff to play around with and be a challenge

I have no experience with 3D but was wondering if LibGDX is really any good for this sort of thing? I’m aware it does have 3D capabilities, i’m just not sure how good they are. Google doesn’t yield a great ton of results for it either.

libGDX let’s you get quite close to openGL but also offers some decent helper classes on top of that. So you could say that the libGDX does not really limit what you can do with 3D as you can go straight to the openGL calls.

I am not very experienced in 3D but I had no problem picking up and using libGDX for a 3D game.

That being said, as with everything it depends on what you’re doing. If you just want to learn new stuff, it’s not a bad choice I think.

You can start with Blender + Libgdx (there is a small library called BDX):



Thanks for the replies :slight_smile:

I found these cool tutorials online http://blog.xoppa.com/basic-3d-using-libgdx-2/ that I’m going to look at

I’ll also take a look at BDX, Craftm! It looks pretty interesting.

EDIT:
Oh! Another thing. I found a really cool bunch of tutorials on LWJGL 2 that I might take a look at

So a little update on this. I looked at a simple video where I created a 3D cube and rotated around it with the camera, which was pretty neat.

I feel that if I really wanted to go more in-depth then I need to learn LWJGL and I really don’t have a strong math background, (vectors use to confuse the life out of me). I’m worried that I won’t be able to pick up OpenGL and things like matrices. Is it really possible that if I put in the effort, I can get a good understanding of OpenGL, matrices and other advanced math topics that would allow me to create a small 3D game?.

Luckily, vectors and matrices will be the majority of math required, and both are very simple. It might be best to learn those before touching OpenGL, just so your mind isn’t as clouded. Specifically, you’ll want to look them up in the context of ‘transforms’, and how we multiply transforms to combine them.

Have a go at writing your own vector, and matrix/transform classes with just the basic operations. Remember to not just copy code, actually step through the process mentally and see what’s happening, observe patterns.

OpenGL is a little harder. I’d say it’s conceptually simple, but you might have a little more trouble when trying to build something structured with it. Immediate mode OpenGL will get you familiar with the concept fastest, but you should move on to modern OpenGL when you’re comfortable with that. You’ll want to look up what a ‘Model View Projection’ matrix is at this point too.

These YouTube playlists would be a good start:


Be sure to check their channel for other useful related playlists.

Effort will get results. :slight_smile:

Thank you very much Husk :smiley: I really like the look of those video playlists, looks like it could be really helpful. I know Khan Academy is meant to be pretty good as well, so maybe I can follow the tutorials they have.

You’ve given me the motivation at least to start somewhere and hopefully learning more about vectors and matrices will really help me with future game development. Who knows, I may start to enjoy maths :persecutioncomplex:

I’ve never really used Khan Academy, but I think it’s grown to cover a wide range of subjects now. So they might be good too.

I would definitely suggest taking an interest in math. Even if you don’t use it, I think it puts you in to the right mentality for expressing, and solving problems. I love the feeling when I can solve a problem because I learned the math behind it. In any case, it’s much better than having to lookup and reference math every time you need it. :stuck_out_tongue:

Yeah, that is a good point. I think I just get annoyed with it too easily. I loved maths as a child but grew to hate it due to the teacher I had through my higher education :frowning: maybe I can enjoy it again.

Once again, thanks for your help. I’m currently looking at matrices :point: