Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using LWJGL what is the easiest way to load a 3D model to be drawn on screen?

I know LWJGL doesn't have built in loading support so I am looking for a small library that would help to load specifically .blend files.

share|improve this question

The best way in my opinion is to write your own parser for .obj exported with Blender or your preferred 3D modeling software. It will really only take you a maximum of one hour and you won't have to worry about distribution/licence issues. Here is a video about this question:

share|improve this answer
I assume you're the same Oskar? Well done with the videos, and welcome to GameDev SE. – Byte56 Mar 29 '12 at 15:44

The easiest way is to build you own loader that can for example load .OBJ files or maybe your own format thats custom made for your game. Blender files however I'm not sure.

share|improve this answer
Isn't that the opposite of "easiest way"? :-) – Notabene May 9 '11 at 22:10
+1 I find it funny how to the highest rated answer (by Oskar) says essentially the same thing, but you get downvoted. :) – Miguel Dec 11 '12 at 5:34
Ease may be subjective here, but it certainly is the smartest way to do it. .obj files have a simple structure, and writing a loader/parser for the format is simple compared to other formats. It may be considered to be easier as a long-term gain when you consider that you will be in direct control of the source that loads your models, in case something strange happens; not at the mercy of a black box or some unfamiliar code. – Nathan Jan 17 '14 at 3:48

You may find JAGaToo to be useful. It has loaders for MD2/3/5, OBJ, and some other model formats.

share|improve this answer

Have a look at jMonkeyEngine - it has model loading capabilities for many different model files and is based on LWJGL so you may be able to adapt it to your needs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.