Results 1 to 1 of 1

Thread: Blender export to d3dbsp

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Thanked 1,060 Times in 737 Posts

    Blender export to d3dbsp

    Yo all, I just had an idea.

    So everybody is using Radiant to compile the .map file via q3map/cod2map etc.

    But as much I realize, it should be possible to generate a .bsp directly from blender meshes. Each face of the Blender scene meshes is simply a plane inside the .bsp map.

    No filthy intermediate .map files needed at all. Having this freedom would allow an entire new dogma to CoD2 mapping. Speed mapping in blender and quickly export an .bsp map.

    It could even be used for lightmap generation, 2019 style.

    Anybody interested? Blender/Python scripting knowledge isn't even needed. The biggest problem is to generate a proper .d3dbsp file. The mesh data can be a simply .obj file or .gltf model format or whatever you are comfortable with. Then just iterate over all faces and generate the d3dbsp. Once that works nicely, it could be simply adapted for Blender/Python. Or just load the .blend files in JavaScript (there is a JavaScript .blend file importer).

    Side note: Blender 2.80 is fucking epic
    Last edited by kung foo man; 28th January 2019 at 00:37. Reason: fix formatting
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    kubislav23 (28th January 2019)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts