KhronosGroup / KhronosGroup/glTF-Compressor

Anisotropy compression error?

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
83
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The anisotropyDirection texture seems to be malformed after compression.

Tested with the AnisotropyBarnLamp sample asset:
https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/AnisotropyBarnLamp/glTF-Binary

Compression settings:
![2023-08-21 11_24_33-glTF Compressor for KTX](https://github.com/KhronosGroup/glTF-Compressor/assets/40177036/ba58eb03-baf7-4a24-a5f1-b7686a92be6c)

Before/after:
![2023-08-21 11_31_44-](https://github.com/KhronosGroup/glTF-Compressor/assets/40177036/4a8a6e8c-285e-4b14-ad6a-77f2f45dd0d7)

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem with the AnisotropyBarnLamp sample asset from the linked glTF-Sample-Assets repository, using the compression settings shown in the issue. Compare the anisotropyDirection texture before and after compression; done means the compressed result is no longer malformed and preserves the expected appearance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.