Non-Uniform Scale Transofrmation Support
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Domain
- computer-graphics
Research direction
Start in gbuffer_vs.hlsl at the normal and tangent transformations shown in the issue. Update the transformation to use transpose(inverse(instanceMatrix)) for non-uniform scaling, then verify the shader behavior with a non-uniform instanceMatrix and confirm the transformed normals and tangents are correct.
Written by the indexing model from the issue text.
Description
in gbuffer_vs.hlsl:
o_vtx.normal = mul(instanceMatrix, float4(i_vtx.normal, 0)).xyz;
o_vtx.tangent.xyz = mul(instanceMatrix, float4(i_vtx.tangent.xyz, 0)).xyz;
o_vtx.tangent.w = i_vtx.tangent.w;
need to use transpose(inverse(instanceMatrix)).
- Dominant language
- C++
- Stars
- 481
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 NVIDIA-RTX/Donut
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
NVIDIA-RTX/Donut#40 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
NVIDIA-RTX/Donut#43 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
NVIDIA-RTX/Donut#42 ·
-
cpu bottlneck ?Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
NVIDIA-RTX/Donut#37 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
NVIDIA-RTX/Donut#33 · 1 comment ·
All issues in NVIDIA-RTX/Donut
Similar issues
-
good first issue hardware-report help wanted
Difficulty 1/5 Under an hour Newbie friendliness 66/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
launcher: settings are never saved on macOS — QSettings SystemScope points to /Library/PreferencesOpen
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
documentation ready
Difficulty 1/5 Under an hour Newbie friendliness 80/100
MartinPTielemans/ilo#3806 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100