armory3d / armory3d/armorpaint

drawn height matches dx normal map instead of ogl

Open
#1,611 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
5k
Forks
553
Avg merge
3d 11h
Merged PRs (30d)
6

Description

**ArmorPaint version:**
v0.9 (2023-07-13) - 4d0b2f5

**OS/device including version:**
non-vkrt build
all specs: https://controlc.com/1c8ea527

**Issue description:**
height display matches dx normal space, instead of ogl normal space.

in all scenes hdr light is turned off, light value is 2.

actual geometry with bumped circle:
https://github.com/armory3d/armortools/assets/16347074/b1f48181-6ce7-460d-866c-6ec1d67cf3fd

circle baked (in blender) to ogl normal:
https://github.com/armory3d/armortools/assets/16347074/de002af3-8c61-4b49-8fa9-63e56e820307

circle baked (in blender) to dx normal:
https://github.com/armory3d/armortools/assets/16347074/65b2eecf-32b0-47cd-a03b-022c814a3285

circle drawn with height:
https://github.com/armory3d/armortools/assets/16347074/af55b328-6fe1-488b-a2d8-81e627d73acb

![arpa drawn height](https://github.com/armory3d/armortools/assets/16347074/7a70e581-1ce3-4aca-abfe-a09874faf6ae)

all files, if needed:
[arpa drawn height.zip](https://github.com/armory3d/armortools/files/12266744/arpa.drawn.height.zip)

**Steps to reproduce:**
- draw something with height
- compare the shape to matching geometry shape in 'lit' mode
- compare color pattern in 'normal' mode with baked ogl normal map and dx normal map

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by drawing height, comparing the shape with matching geometry in lit mode, and comparing normal mode against the attached Blender-baked OGL and DX normal maps. Done means the drawn height matches the OGL normal-space result rather than the DX result.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
computer-graphics
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.