Amerio.Stephane Posted October 1, 2019 Share Posted October 1, 2019 Hello, Is it possible to load render settings (*.render files) from C++? from the console ? Can ".render" files be only partially specified (for examples with only bloom settings). This would be usefull for loading different section settings without duplicating a lot of other settings. Thank you. Link to comment
silent Posted October 1, 2019 Share Posted October 1, 2019 Hi Stephane, You can use Render::loadSettings method for that: https://developer.unigine.com/en/docs/2.9/api/library/rendering/class.render#loadSettings_cstr_int Quote Can ".render" files be only partially specified (for examples with only bloom settings). This would be usefull for loading different section settings without duplicating a lot of other settings. Right now partial overrides are not implemented. I would create a feature request for that task in tracker (with low priority ATM). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Amerio.Stephane Posted October 1, 2019 Author Share Posted October 1, 2019 Ok for C++. But not possible through a console command? Can the render settings be specified in the startup cmd line? (sorry if I missed it in the doc) Thanks! Link to comment
silent Posted October 1, 2019 Share Posted October 1, 2019 Render settings can be loaded only via code (or directly on world load command if you will change directly contents in .world XML file). How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts