Wad to Obj.

Status
Not open for further replies.
SRB2 Doombuilder won't export a .OBJ file.. it will export a file of a custom format. I still have the specification somewhere...

But in short, I've tried to do a lot of research on this as well, and most of what I've found is a convoluted path -- you have to do something like convert from Doom to Quake 1, then to Quake 3, then export as an OBJ. There is a project on sourceforge that will convert Doom levels to OBJ, but it's very poorly written and completely fails on any other levels.

The simplest answer probably involves adding the functionality right into SRB2, tricking it into drawing the entire map in one go, and instead of drawing, it writes to a file. But I can see that being a huuuuge headache to try and group the polygons back together to something meaningful.

A better method might be:
Code:
foreach (Sector in sectors)
    foreach (Subsector in sector.subsctors)
        foreach (Line line in subsector.lines)

But THEN you have to deal with triangulating concave polygons... hm...
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top