Posted by LLCoolDave [22.214.171.124] on 2006/06/26 05:06:39
Okay, I'm currently working on some sort of Editor for SDA, and I'm trying to import .map files, but I'm having some trouble understanding how brushes are defined in that format.
The following should be a block that defines one primitive if i can tell correctly. At first I thought that each part in a bracket defines a point, and the three points in a line specify the edgepoints of a polygon. However, somehow most of those points seem to have two coordinates that are either 65535 or -65535 or some other numbers that just don't seem to correspond to reasonable worldcoordinates, and I can't seem to make sense of it otherwise, so I'd appretiate some help on this. The part behind the brackets seems to specify the texture in some sort of way, but that doesn't matter to me, all I want to be able to draw at the end is those 2d views (top, left, front etc.) like in Worldcraft or similar Editors.