A GLtron level consists of two mandatory files and an optional one:
level_name.lua
level_name-floor.obj
level_name-arena.obj
Note: There are no restrictions for filenames of the 3d files, but in order to avoid name collisions, I strongly suggest you follow the level_name-floor/arena.obj naming convention.
Note: This tutorial is based on the Windows Version of Blender 2.34, but other versions and platforms are *very* similiar (obvious difference: on OSX or Linux there's no c: drive).
Blender is a free and powerful 3d modelling package. Its user interface takes a bit to get used to, but if you pay attention to the many available tutorials at the Blender site, you'll find it actually very easy to use after a while.
You can create a very simple floor mesh using the following steps:
Congratulations, you successfully built your first GLtron floor mesh. Open the file with e.g. Wordpad, it should look like this:
# Wavefront OBJ (1.0) exported by lynx's OBJ import/export script # Meshname: Plane # Total number of Faces: 1 # Total number of Vertices: 4 o Plane g Plane v 1.0 0.999999940395 0.0 v 1.0 -1.0 0.0 v -1.00000011921 -0.999999821186 0.0 v -0.999999642372 1.00000035763 0.0 vn 0.0 0.0 1.0 vn 0.0 0.0 1.0 vn 0.0 0.0 1.0 vn 0.0 0.0 1.0 f 1//1 4//4 3//3 2//2
That's it for the moment. I suggest you start learning Blender (or any other 3d modelling package that can (perhaps with the help of a plugin or external converter) write Wavefront .obj files, and go crazy! In the meantime, I'll try to finish this document.