KhronosGroup / KhronosGroup/glTF-Validator

Test for invalid length normals in normal maps

Open
#217 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
470
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Suggested in KhronosGroup/glTF#2368, this utility could check for invalid texels in normal maps by calculating the length of the normal at each texel, and checking for Z < 0.5. There might need to be some tolerance to allow for poor JPEG encoding, etc. This could be done independently of any mesh geometry, but would require image decoders to be present.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the proposal in KhronosGroup/glTF#2368 and identify how image decoders could be provided for this validator. Define completion as checking normal-map texels for invalid normal lengths and Z values below 0.5 while accounting for possible JPEG encoding tolerance.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
computer-graphics
Issue type
Feature
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.