I've been building a setup with three projectors illuminating a cylindrical screen. To that end, I'm trying to create a scene with three different windows that each are full screen on one of the projectors. I was able to follow an online tutorial (http://blog.gvnott.com/2013/05/18/tutorial-multiple-windows-with-glfw3-and-glew-mx/) to create multiple windows with different contexts. However, when I try to make the windows run full screen on the projectors by adding
GLFWmonitor** monitors = glfwGetMonitors(&count);
and then changing the first nullptr in CreateWindow(c_iDefaultScreenWidth, c_iDefaultScreenHeight, "First", nullptr, nullptr) to monitors in the first case and monitors in the second, I only see the image on the second window while the first window is black. Any ideas what I'm doing wrong? Thanks!
C/C++ arrays are zero based, try using monitors and monitors instead.
Also there are some bugs in GLFWs handling of full screen windows, e.g:
You might want to download and build GLFW from the latest source to get these fixes.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.