Skip to content

Conversation

@burnhamrobertp
Copy link
Contributor

@burnhamrobertp burnhamrobertp commented Feb 4, 2026

Adds a new parseSkybox config option so as to not break backwards compatibility.

This PR adds functionality for the skybox functionality of beyond-all-reason/maps-metadata#569

Per the AI disclosure policy:

  • src/cubemap-to-equirectangular.ts - largely created using Claude Code 4.5 Sonnet
  • src/parse-dds-cubemap.ts - adapted from a python script which https://github.com/icexuick used AI to generate, unsure of model involved.

These changes were tested on a macroscopic level, investigating the produced files against their source and the expected output. I also read through the code to ensure the approach looked appropriate, but while I'm knowledgeable in the area of mipmaps, image manipulation/transformation, and the underlying mathematics, its not my day job.

@p2004a p2004a force-pushed the master branch 2 times, most recently from ec13490 to b621d0c Compare February 8, 2026 16:00
splatDetailTex acts as a switch to turn on splat detailing, if its present in the mapinfo.lua file. It doesn't actually need to exist inside the .sd7 anywhere. Testing for its presence, therefore, and even throwing an error for its absence is unnecessary
@burnhamrobertp burnhamrobertp force-pushed the feature/add-skybox-processing branch from bace3b3 to fc0bfda Compare February 8, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant