View Full Version : Rendering to Multiple Windows using glut
McLeary
11-15-2010, 06:48 AM
If I want to use the same texture in 2 diferent glut windows, I need to load the texture twice (one for each window)?
There's a way to use a FBO rendered texture in another window directly?
Thanks in advance.
ZbuffeR
11-15-2010, 08:18 AM
Not possible with GLUT, but apparently doable with freeglut with :
glutSetOption(GLUT_RENDERING_CONTEXT ,GLUT_USE_CURRENT_CONTEXT);
http://old.nabble.com/Shared-GL-ressources-between-window-td26900200.html
McLeary
11-15-2010, 02:48 PM
ZbuffeR, do you if there is an implementation of freeglut for the Microsoft Windows?
I need to have a project that can be compiled both in linux and windows.
Dark Photon
11-15-2010, 05:49 PM
ZbuffeR, do you if there is an implementation of freeglut for the Microsoft Windows?
http://freeglut.sourceforge.net/
Search on this page for "Windows binaries". Apparently so.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.