Max98
22-02-2015 16:02:03
Hi there,
So i've been a little bit bored these days and I decided to make a config file for SkyX as does Hydrax. So.. I wanted to share it with you.
My edits of SkyX can be found here: https://github.com/Max98/ror_nextstable ... n/gfx/skyx (Note that it is also edited to be compiled with the application, not as a library, you can just put the Dllexport things again and it will go back as a library)
Then to load the config, it's very simple:
Yup, that's it!
Here's my default SkyX config file that you can use: https://github.com/Max98/ror_nextstable ... efault.skx
So i've been a little bit bored these days and I decided to make a config file for SkyX as does Hydrax. So.. I wanted to share it with you.
My edits of SkyX can be found here: https://github.com/Max98/ror_nextstable ... n/gfx/skyx (Note that it is also edited to be compiled with the application, not as a library, you can just put the Dllexport things again and it will go back as a library)
Then to load the config, it's very simple:
mBasicController = new SkyX::BasicController();
mSkyX = new SkyX::SkyX(gEnv->sceneManager, mBasicController);
SkyX::CfgFileManager *cfg = new SkyX::CfgFileManager(mSkyX, mBasicController, gEnv->mainCamera);
cfg->load(configFile);
mSkyX->create();
Yup, that's it!
Here's my default SkyX config file that you can use: https://github.com/Max98/ror_nextstable ... efault.skx