Jump to content

  • Log In with Google      Sign In   
  • Create Account


a question about SFML and ogre


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 brightening-eyes   Members   -  Reputation: 155

Like
0Likes
Like

Posted 24 November 2013 - 01:10 PM

hi, i started to make game with SFML because it is easy to use and ogre because it is very good for 3D now a question is in my mind: can i use SFML and ogre together? for example, create a window from SFML and draw with ogre is it possible to do this? i didn't try this thanks in advance

when you can't see well like me, you can't test your applications and you can't read something

AmirOS: an Open Source Operating system

Audio Game Kit: an open source game engine to develop audio games


Sponsor:

#2 JTippetts   Moderators   -  Reputation: 8159

Like
0Likes
Like

Posted 24 November 2013 - 02:00 PM

I believe you can do so by setting the window handle created by SFML to the externalWindowHandle key in miscParams, passed in the Ogre::Root::createRenderWindow() method. It's not something I've done personally, and I found at least one Ogre forum thread where the OP was trying to do something similar and ended up quitting in frustration, so I don't know how well-supported using an external handle is. But if SFML provides something you absolutely can not live without, for whatever reason, then it might be worth a try.

Edited by JTippetts, 24 November 2013 - 02:02 PM.


#3 wintertime   Members   -  Reputation: 1601

Like
1Likes
Like

Posted 24 November 2013 - 02:38 PM

I recently saw someone posting he got it working at http://en.sfml-dev.org/forums/index.php?topic=13538.0 and there is some code included.



#4 brightening-eyes   Members   -  Reputation: 155

Like
0Likes
Like

Posted 25 November 2013 - 04:57 AM

thanks everybody

now i know that i have to use ogre as the window renderrer and SFML for input and sound playing


when you can't see well like me, you can't test your applications and you can't read something

AmirOS: an Open Source Operating system

Audio Game Kit: an open source game engine to develop audio games





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS