Bug: Light position isnt correctly imported
Open
Bug
glTF-Common
Lights
- Dominant language
- C++
- Stars
- 13.2k
- Forks
- 3.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 21
Description
I have a .glb file with 5 point lights in it that have different positions. If you open the file in blender you can clearly see this. However, with assimp the mPosition of each aiLight is (0,0,0).
I have attached the file in question.
Assimp Version: v6.0.2
[LightsPunctualLamp.zip](https://github.com/user-attachments/files/22648240/LightsPunctualLamp.zip)
Contributor guide
Research direction
Start by reproducing the issue with the attached .glb file using Assimp v6.0.2, then trace how its five point lights are imported into aiLight::mPosition. Done means the imported light positions match those visible in Blender instead of all being (0,0,0).
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
- 45/100