...for some reason I was playing around a [model] the other day, and realized that it didn't respond to [draw line<, or [draw anything< ! A little investigation showed that glmDraw() is called with a mode flag (bitwise OR values), usually with (GLM_SMOOTH | GLM_TEXTURE)...this ignores the other two possibilities:
GLM_NONE (for drawing only vertices, ie. lines) GLM_FLAT (for drawing facet normals; used instead of GLM_SMOOTH, which renders vertex normals)
...GLM_MATERIAL is switchable via the [material $1 < , but I don't think this would be the best place to put the option for vertex-only drawing...
...so, anyone against me putting in either a [mode $1 < or [draw $1 < ? As I see it, it'd have 4 states:
GLM_NONE | GLM_FLAT GLM_NONE | GLM_SMOOTH GLM_FLAT | GLM_TEXTURE GLM_SMOOTH | GLM_TEXTURE
...any ideas on a way to make this better, or rather more informative, than [mode 0|1|2|3< ?
...also, I noticed some of unfinished code for .3ds loading: IOhannes, did you ever get any further with your try? I suppose that these kind of messages should also have meaning for other model types...
jamie