I’ve looked at the opengl code for 1 day now, and can now report that the software is working properly.
I got the following setup to work properly:
- 5*9 fbo’s with size 815x455, window setup to 2560x1600 (hires mode)
- rendering using glViewport to the fbo’s with only translating x-direction
- GL_BLEND disabled on calls to hp_copyViewToQuilt(i) and hp_drawLightfield()
- it actually requires HP_LOAD_LIBRARY or else there will be compability problems with vc++'s and mingw’s dll linking.
The following stuff didn’t work:
a) MakeCurrent and separate opengl context for the window
b) clearing the screen required the GL_BLEND disable-solution above
c) hp_customquiltsettings is not working, it’s always in hires mode
d) HP_LOAD_LIBRARY is breaking hp_quiltTexture. Need to use hp_copyViewToQuilt(i) instead.