invader icon indicating copy to clipboard operation
invader copied to clipboard

[New feature] Add a tool for lightmap generation

Open SnowyMouse opened this issue 5 years ago • 0 comments

Currently, here are the main ways people can generate lightmaps:

tool.exe

This involves generating lightmaps using the tool.exe lightmaps command.

Pros

  • Very simple to use - you just run a single command for each BSP and the lightmaps get generated
  • Built into the Halo Editing Kit

Cons

  • tool.exe is closed source
  • Resolutions are limited
  • CPU utilization is limited, so it's inefficient

Aether

This involves using a tool to extract the BSP and scenery to hand off to a 3D modeling tool to generate the lightmaps.

Pros

  • Comes with a GUI that does much of the hard work for you
  • Produces high resolution lightmaps
  • Most Halo CE map makers use 3ds Max or Maya

Cons

  • Aether executable is closed source
  • Requires using closed source, paid 3D modeling software (3ds Max or Maya)
  • Requires using closed source tool.exe at least once in order to generate the UVs

Blender

This involves using a tool to extract the BSP and scenery to hand off to Blender Cycles to generate the lightmaps.

Pros

  • Blender is free and open source
  • Produces high resolution lightmaps

Cons

  • Requires using closed source tool.exe at least once in order to generate the UVs
  • Difficult and time consuming to set up (could be made a lot easier)
  • Most Halo CE map makers do not use Blender and would have to learn how to use it

As you can see, all three of these have at least two things in common:

  • They require the usage of tool.exe. The primary goal of Invader is to reduce and minimize the reliance on the Halo Editing Kit.
  • They require the usage of closed source software at least once. I personally feel that "closed source" and "modding" are contradictory in a way.

Writing a tool will likely be a big undertaking. In fact, this probably is unlikely to ever be added in the future. However, making such a tool could get rid of a lot of our problems:

  • No need to pre-generate lightmaps with tool.exe for UVs
  • No need to ever once touch closed source software for lightmap generation
  • It brings us closer to never having to use the original, broken Halo Editing Kit

SnowyMouse avatar Jul 25 '19 05:07 SnowyMouse