Skip to content

Add HDR OpenEXR cube face export - #1

Merged
andy83 merged 1 commit into
mainfrom
feature/cubemap-face-exr-export
Sep 1, 2026
Merged

Add HDR OpenEXR cube face export#1
andy83 merged 1 commit into
mainfrom
feature/cubemap-face-exr-export

Conversation

@andy83

@andy83 andy83 commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • export the existing HDR cube render target directly as six OpenEXR files
  • add a Cube faces EXR (.zip) option to normal, batch, per-layer, and composite exports
  • preserve existing PNG and equirectangular HDR/EXR export paths and canonical face naming

Implementation

The cubemap is already baked into a HalfFloatType render target. Each face is read into a Uint16Array, wrapped in a Three.js DataTexture, and encoded with EXRExporter. No 8-bit or PNG intermediate is used.

Faces are processed sequentially to keep memory usage manageable for 4096×4096 exports.

Verification

  • npm test: 17 files, 135 tests passed
  • npm run build: passed
  • npm run lint: passed with one pre-existing react(only-export-components) warning
  • all six 4096×4096 EXRs verified as half-float with HDR values above 1.0
  • PNG/EXR orientation compared pixel-for-pixel across all faces
  • batch and per-layer/composite packaging verified

@andy83
andy83 merged commit af927b0 into main Sep 1, 2026
@andy83
andy83 deleted the feature/cubemap-face-exr-export branch September 1, 2026 13:23
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.

2 participants