Sign in to follow this  
raptorstrike

Ogre/SDL intigration

Recommended Posts

im just starting out on OGRE and I know that its input system isnt the greatest (because its just a graphics engine) so I am trying to inigrate SDL input into it just one problem... i have no idea how to intergreat the sdl event system in a strictly OOP enviroment so if anyone has done this before i would be very thankful for you input =)

Share this post


Link to post
Share on other sites
Quote:
Original post by raptorstrike
im just starting out on OGRE and I know that its input system isnt the greatest (because its just a graphics engine) so I am trying to inigrate SDL input into it just one problem...


I don't know where you get the idea that Ogre's input system is broken, but Okre already has an interface to SDL. In the source tree, look in PlatformManagers/SDL.

Quote:

i have no idea how to intergreat the sdl event system in a strictly OOP enviroment


Now I'm just nitpicking, but SDL's event system is object oriented.

Share this post


Link to post
Share on other sites
my turn to nitpick

Quote:
Shortcomings
The Ogre buffered input system is not entirely consistent, which I will discuss later. There are also parts of the system that are broken entirely, and cannot be used (which I will also discuss). Ogre also does not support joysticks or gamepads, which can be a serious problem in certain types of games.

Why is Ogre's input system partially broken and not internally consistent? Well to put it quite simply, Ogre is designed to only be a graphics engine. Sinbad has said time and again that the input system would not even exist if it weren't needed to create cross-platform demos for the engine.

In short, the Ogre input system is "good enough" for most applications, and most of the shortcomings can be overcome. You may want to look into other input systems, which we will cover at the end of the tutorial."


this is a streight quote from a wiki tutorial on ogre buffered input =)

thanks for the tutorial i got it to work

[Edited by - raptorstrike on June 5, 2005 1:33:55 PM]

Share this post


Link to post
Share on other sites
ok scratch that i THOUGHT i had it, I have read various posts and that tutorial you showed me but they all seem to be missing one thing, context, i found all the code i need but ive got no idea where to put it. I see lines of code but never the beginning or end of a function to put it in. Sorry if im comming across like "do it for me" but thats not what im asking, im just confused and would like some explanation

[totally]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this