Skip to content

Conversation

@sciecode
Copy link
Contributor

@sciecode sciecode commented Nov 10, 2019

This PR refactors the previous pipeline into a format that is inline with OpenEXR uncompressing pipeline, and adds support to RLE compression format. Setting up for a future PR that adds support for DWAA and DWAB compression.

By filling the output array with white color, #17887 exposed an incorrect offset in the decoding algorithm. The first pixel line was being shifted up, this was also fixed.

  • Refactors into OpenEXR uncompress pipeline.
  • Adds RLE compression support.
  • Fixes line indexing.
  • Adds support for Float32 PixelType - except for PIZ_COMPRESSION

DEV Example
PR Example

You can see the example no longer shows that white line on the bottom of the image, since the indexing is now correctly handled.

@WestLangley
Copy link
Collaborator

Sweet!

RLE is working for me. Looking forward to DWAA/B.

Thanks!

@WestLangley WestLangley added this to the r111 milestone Nov 10, 2019
@WestLangley WestLangley merged commit d23e67e into mrdoob:dev Nov 10, 2019
@mrdoob
Copy link
Owner

mrdoob commented Nov 11, 2019

Thanks!

@sciecode sciecode deleted the dev-exrloader branch April 7, 2020 19:54
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.

3 participants