BSP Importer

The BSP import function is there to provide a template to model map objects against.

In the future I'd like to turn it into a full-blown import that can be used to render levelshots/promotional shots out of Maya. This will take a lot of work, however, so maybe later.

Things to Add or Fix

  • Lower Maya's workload:
    • Remove redundant edges (each MST_PLANAR should generate a single face).
    • Make MST_TRIANGLE_SOUP generated edges smooth.
    • Weld vertices.
  • Make the result usable as render data:
    • Bring in texture UVs.
    • Bring in lightmap UVs.
    • Bring in vertex colors.
    • Auto-generate Maya shading networks for the map shaders.
    • Pull in lights for map lights and generate area lights for glowing surfaces.