BSP -> Blender -> Whatever
I've been trying to learn Blender recently, and once of the things I thought I'd try was scripting. Since I didn't have any better ideas, I thought I'd try making a bsp importer in case for some reason I, or anyone else, wanted to render their maps.
http://www.quaketastic.com/upload/files/misc/io_mesh_bsp.zip
http://www.quaketastic.com/upload/files/misc/apsp3_blender.png
Warning:
This is very early still. The only thing it can do right now is import all the models in the bsp as separate meshes in Blender. I plan to extract textures and assign them as materials, but that's quite a lot of work for me, since I have to extract the texture alignment params, translate them into regular uv space, save out all the textures and assign them to each polygon in the level.
TODO:
- auto weld all verts
- allow user scale option (currently uses 0.05 of Quake scale)
- allow user to filter by model ids
- would be nice to filter out triggers etc. but that requires quite a lot more work because of how simply it is written right now.
- extract textures and assign as materials
- optimisation so it doesn't take 30s+ on large maps to import :(