PDA

View Full Version : D3DBSP TriangleSoup and Brush generation in Unity3D



kung foo man
16th August 2014, 15:42
Yo all :D

Took me some time to implement this:

731

The Winding generation is basically from the original Radiant code, converted to C#. Basically it's very simple now to export .map's, but I don't care about that.

Current features:
- Explorer class to load .iwd's and load the original .iwi-textures with help of DevIL library
- Generate TriangleSoup's and Brushes from the lump data
- Interactive Brush manipulation and rebuilding at runtime for easy testing (as seen on image)

732

I think about it as foundation of some kind of Call of Duty clone in Unity3D, I would like help for features as:
- Client networking code for real server connect
- Original movement code for strafe jumping etc.
- .menu system (???)

Basically everything to make it a good clone, fx system, scripting engine etc.

Have fun with the code, when you gotta use it. xD