OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.91k stars 963 forks source link

Simplifying use of ApplicationContext framework #3036

Closed Joilnen closed 6 months ago

Joilnen commented 6 months ago

updating to last commit tried to update last commit but github closed it automatically see #3034

paroj commented 6 months ago

the other features from Root I think to wrap them in ApplicationContext

I agree that ApplicationContext kind of acts as Root nowadays. However we cannot replace Root with ApplicationContext as that would force optional components (Overlay, RTSS) on users whereas Root only requires OgreMain. Therefore, we must keep Root anyway and we would be only duplicating the API. Hence I do not think this is worth it.

Joilnen commented 6 months ago

that seems only a duplication but would simplify the application, because ApplicationContext could to create default, SceneManager, Overlay, Viewport and even to set RTSS leaving only for users who needs to create customized ones, this would simplify the applications from new users. But thanks to read it.