SFML community forums
Help => Graphics => Topic started by: acrin1 on August 30, 2007, 02:03:06 pm
-
Hi,
Apologies if this is a silly question. Is is possible to draw an OpenGL 3D view in an SFML window but use SMFLs 2D graphics functions in the same window? E.g. for displaying text or overlaying sprites.
Thanks
-
Yes, just look at the opengl sample project.
-
Yes, have a look at the OpenGL sample, it does exactly what you want.
-
Yes, have a look at the OpenGL sample, it does exactly what you want.
Thanks. That's great. I'd been looking at the OpenGL tutorial rather than the sample progrem.
My current SDL/OpenGL project has the 2D stuff done with OpenGL which I find less convenient. This will make things a lot easier for me.
thanks again.