Sharing rendering context with SFML possible?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Sharing rendering context with SFML possible?

Post by christianclavet »

Hi, Just found out about SMFL(http://www.sfml-dev.org/index-fr.php) and I find it quite nice. Would be a great complement with Irrlicht.

Just got some questions, can we share the rendering context with both system in an application? I would like to create a multi-window application and create the windows with SFML and draw 3D stuff in them with Irrlicht.

Another thing I would like to do is to use their 2D stuff and draw it OVER(with transparency) the 3D render from Irrlicht. Can this be possible?
superpws
Posts: 18
Joined: Mon Mar 31, 2014 6:47 am
Contact:

Re: Sharing rendering context with SFML possible?

Post by superpws »

Hi, I personally haven't tried integrating them, but I've seen people with partial success. Have you seen this example? It maybe easily adopted for Irrlicht. I don't know much about Irrlicht's OpenGL implementation but I know that SFML internally uses deprecated functions for 2D drawings so the rendering context of both may conflict.
IRC: #irrlicht on irc.freenode.net
Github: https://github.com/danyalzia
Homepage: http://danyalzia.com
Post Reply