How to render a map...

Hello,

I’m trying to think of how to load a map in to the game using LWJGL.
My goal is to some how make a 3D scene and load it into the game thats build using LWJGL.
The game is not create yet because I’m still trying to make this thing work, now my question is how to make this work…
I’m thinking in OBJ file and mtl to hold the scene but I’m not quit sure if thats the best way…
Any suggestions?

Hey, i think what you’re getting at is how to store information, keep that information even if the game is turned off, and read the information to re-create the scenes. One possible method, that i like is XML. There are many types, including DOM, SAX, JDOM, etc. The great thing is that you write the format, and no IDE is required.
If you want to read more, just hop over to http://www.mkyong.com/tutorials/java-xml-tutorials/ to get started. It has stuff like writing to, reading from, creating, enumerating xml files.

Good luck.