LuxCore
LuxCore copied to clipboard
`luxcoreui` unable to read `*-hdr.cfg` sample scenes.
There's small bug in luxcoreui preventing it from reading *-hdr.cfg files.
As you change CWD to .cfg scene file location:
https://github.com/LuxCoreRender/LuxCore/blob/7143d8d18b97edfffa5f136879e84552a78cba99/samples/luxcoreui/luxcoreapp.cpp#L246-L250
Your relative path to the sky map in the .scn file becomes invalid.
https://github.com/LuxCoreRender/LuxCore/blob/7143d8d18b97edfffa5f136879e84552a78cba99/scenes/kitchen/kitchen-hdr.scn#L131
This results in an error on the Linux machine unable to find file sky.exr (The rest of .scn files will be located by sub dir search routine. )
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
running luxcoreui scenes/kitchen/kitchen-hdr.cfg works as it bypass LoadRenderConfig()
strace log form luxcoreui srcene/kitche/kitchen-hdr.cfg followed by luxcoreui:>Rendering:>Load(kitchen-hdr.cfg)