I factored out the reusable parts of the SampleBrowser to form a new OgreBites Component.
It handles Ogre startup/ tear down (including Overlay, RTShaderSystem) and also includes the SdkTrays and SdkCameraManager.
This is useful if all you want is to get a Scene with a FPS counter up and running (i.e. rapid prototyping).
The according Python module also wraps parts of SDL2, so no external libraries for input handling are needed.
A python example of the module can be found here:
https://github.com/OGRECave/ogre/blob/m ... _sample.py
it uses trays to display a loadingBar and the camera manager for camera control.
OgreBites UI/ Input Component
-
- OGRE Team Member
- Posts: 2106
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1132