Open num0005 opened 5 years ago
Another idea I had is that the reconstruct part for the lightmap mesh was just never done.
The actual reason seems to be that the lightmap mesh is merged with sbsp on package. This needs to be confirmed but surface level examining of the ltmp tag in Assembly seems to point to the mesh being gone. Unless another solution comes around the best chance we have of reusing the lightmap tag is to rebuild it using the bsp tag.
Issues with rebuilt lightmap include
crashing during scenery processing. Possibly mode related
hanging during rasterizing. Possibly post processing in a specific tag block as Dreamer and sp_tests have shown good results. Will look into this. Edit: Turns out tool just took a really long time.
mode or html permutations.
Crashing during scenery loading for lighting seems to be related to missing scenery. Might just go away with readding the tags. Do not believe this is normal so I will look into this more at some point.
Some tag blocks related to scenery prob should be cleared and regenerated as they are probably generated on package and use tag datums to reference objects. (makes them garbage after recompiling the cache)
Copied from #10
Same issue with render_models (see #15) where everything after section will not be written. Unlike render_models this does not have anything to do with resource maps. My theory is that the geometry classification is causing it to store the mesh data in a different way from render_models. I have no proof for this though.