Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

a question about SFML and ogre

4: Adsense

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   

289
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

Github


#2 JTippetts   Moderators   

12629
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   

4071
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   

289
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

Github





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.