Riccardo Canalicchio
Riccardo Canalicchio
GLFW provides a method for mouse position retrivial: http://www.glfw.org/docs/3.0/group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos) we can use this method instead of the passive callbacks
It's just a windows related bug? becouse i'm not able to replicate this bug on osx (10.7). I'm testing the player with this 1 minute mov h264 30fps video: https://dl.dropboxusercontent.com/u/3470013/1min.mov
I think that ofShader should provide the uniforms injection through some sort of templating system, providing lighting data, matrices and maybe some defines to make easy cross platform development eg:...
@bilderbuchi isn't this issue section-3d?
@arturoc the callback solution is the most maintainable, anyway I think that probably a simple #include + a flag in the shader class to enable the lightdata upload could solve...
I've tried to debug this issue with no luck... I've got 3 times my computer freezed on osx 10.9.4 debugging this bug (maybe is an opengl driver issue?) what about...
maybe I'm doing something wrong... but I have just pulled from master and I confirm that the bug is still there
@admsyn the osx freeze due to the graphics card switch makes sense, I'll try gfxCardStatus
here a gist to reproduce the error: https://gist.github.com/nongio/a04a0bdbdb87c3e36fe4
Is anyone working on this issue? I would like to start contribute. If there is any WIP I would like to give my help.