[1.12] Modern tutorial that doesn't use OgreBites?

Problems building or running the engine, queries about how to use features etc.
Post Reply
Baked Potato
Gnoblar
Posts: 2
Joined: Sat Jun 20, 2020 5:03 am
x 1

[1.12] Modern tutorial that doesn't use OgreBites?

Post by Baked Potato »

Ogre Version: 1.12

Hello

I recently got Ogre up and running using the tutorial framework (OgreBites) from https://ogrecave.github.io/ogre/api/latest/setup.html.
This works all nice and I even added some camera controls. However, now I'm ready to move on to creating my actual application. The problem is I'm having a very hard time finding tutorials that don't use OgreBites.
I found this http://wiki.ogre3d.org/Basic+Tutorial+6, but that specifically says that it is outdated. Also, it used OIS which I have read in multiple places is no longer to be used in Ogre. But as it says
This tutorial will not use the Ogre Wiki Tutorial Framework.
This is exactly the type of tutorial I'm looking for, one that can be used as the starting point for an actual application. I really just want an equivalent to this tutorial that uses modern things (SDL instead of OIS mainly).

I would try to use the code from OgreBites OgreApplicationContextBase, but I don't know what stuff there is critical application initialization and handling, and what is just useful fluff.

Again, to summarize:
How can I make an Ogre application that does not use OgreBites? Just like http://wiki.ogre3d.org/Basic+Tutorial+6 except modern so it will actually work well.
loath
Platinum Sponsor
Platinum Sponsor
Posts: 290
Joined: Tue Jan 17, 2012 5:18 am
x 67

Re: [1.12] Modern tutorial that doesn't use OgreBites?

Post by loath »

personally i would go with the ogre bites approach. it comes with imgui support, for example, and it's much easier to get up and running. i use ogre bites for all my tooling and would have used it for my game if it existed back in the day. :)

if you get serious about your app and find deficiencies you can always submit patches. paroj usually fixes any issues within a couple hours. i wouldn't hold him to "a couple hours" but my point is the support for ogre bites is amazing.

if you're serious about going the SDL approach you could also fork ogre bites, get the app up and running, and refactor it down to whatever minimum meets your needs.

if you decide to DIY and go your own route, it also isn't very hard to get ogre up and running.
Baked Potato
Gnoblar
Posts: 2
Joined: Sat Jun 20, 2020 5:03 am
x 1

Re: [1.12] Modern tutorial that doesn't use OgreBites?

Post by Baked Potato »

Ok, thanks! I thought that you shouldn't use OgreBites in a final application, but after looking around a bit it seems that that is in fact a viable option.
To the devs: It would still be great to have a tutorial that doesn't use OgreBites though.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: [1.12] Modern tutorial that doesn't use OgreBites?

Post by paroj »

the closest you get is probably the raw python sample:
https://github.com/OGRECave/ogre/blob/v ... /sample.py

note how it is about the same length as the sample using bites:
https://github.com/OGRECave/ogre/blob/v ... _sample.py

however, the latter includes a loading screen, a Trays UI and input handling.
Post Reply