KhronosGroup / KhronosGroup/COLLADA2GLTF

Diffuse values about 1 ignored

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
573
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Replaces https://github.com/KhronosGroup/glTF/issues/261

> looks like if a component is above 1.0 it ignores it. So in the example something that is bright white is actually drawn black because the diffuse component is never put into the gltf file. I would think the desired behavior would be to clamp negative numbers to 0.0 and numbers greater than 1 to 1.0.

Perhaps OBE with glTF 2.0 PBR?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the linked diffuse-material example and trace how diffuse component values are exported to glTF. Check whether values above 1.0 are omitted and whether the proposed clamping behavior is still relevant for this converter or superseded by glTF 2.0 PBR. Done means the intended handling is confirmed and covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.