Features
Make a modell from ogre's .mesh file:
In your plugin use the following:
Or you can use the SceneMakerMacro from ApertusVR:
To use this feature you must include apeSceneMakerMacro.h in your plugin:
Create Light:
To change the light type change the "DIRECTIONAL" keyword in the code just above.Light types provided by ApertusVR and Ogre:
SPOT, DIRECTIONAL, POINT
SkyBox:
To change the skybox ,you can alter the SkyPostprocess files in ..\ApertusVR\plugins\ogre21Render\media\apeSky, this way the skybox image can be changed by editing the SkyPostprocess.material file:
Open SkyPostprocess.material.
Change "texture Teide.dds cubic gamma" to "texture MySkyBox.dds cubic gamma".
Save and close the file.
Copy MySkyBox.dds to ..\ApertusVR\plugins\ogre21Render\media\apeSky.
Create .mesh File:
To create your own valid .mesh file, you can use the HLMS Editor. It is a HLMS material editor for Ogre. You can find further informations about HLMS Editor here. When finished do not forget to copy the .mesh file and all its resources to a resource folder like ..\ApertusVR\plugins\ogre21Render\media\modelsV2.
Last updated