WaveFrontReader MTL support for xyz color-space values
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- computer-graphics
Research direction
Start by locating the WaveFrontReader MTL parsing entry point and its current RGB color handling. Compare the parser behavior with the linked MTL specification, then cover the listed XYZ, transmission, spectral, and dissolve options as described. Done means the supported XYZ values work and the unsupported options are indicated or documented as requested.
Written by the indexing model from the issue text.
Description
The MTL reader currently only supports RGB values for the colors. There is a variant which writes the colors in the CIE XYZ color-space instead.
Ka r g b
Ka xyz x y z
Kd r g b
Kd xyz x y z
Ks r g b
Ks xyz x y z
There is also a "Transmission Factor" color I don't handle, which I should at least indicate in a debug build.
Tf r g b
Tf xyz x y z
And a Spectral Curve File (.rfl) color option which I don't need or support, but should also document:
Ka spectral file.rtl
Ka spectral file.rtl factor
Kd spectral file.rtl
Kd spectral file.rtl factor
Ks spectral file.rtl
Ks spectral file.rtl factor
Tf spectral file.rtl
Tf spectral file.rtl factor
And finally I note that the 'dissolve' (i.e. alpha) has an optional switch -halo which I don't currently handle.
d factor
d -halo factor
- Dominant language
- C++
- Stars
- 860
- Forks
- 169
- Avg merge
- 9h 49m
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/DirectXMesh
-
Project feedback Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/DirectXMesh#308 ·
-
optimization
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/DirectXMesh#116 ·
-
tools
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/DirectXMesh#76 · 2 comments ·
-
utility
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/DirectXMesh#75 ·
-
utility
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/DirectXMesh#74 ·
All issues in microsoft/DirectXMesh
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100