LuxCore API has now file name resolver. It is a registry where file paths can be added and they are used when trying to open a file. The registry is empty by default. LuxCoreUI and LuxCoreConsole add the "." to the registry. The path of a .cfg file, starting the rendering session, is also added to the registry by default.
The API functions to handle the registry are here: https://github.com/LuxCoreRender/LuxCor ... ore.h#L146
Short version: it is now possible to read any scenes/* file in LuxCoreUI.
File Name Resolver
-
- Donor
- Posts: 790
- Joined: Thu Oct 04, 2018 6:06 am