As the title says, I’m running into an issue where my OpenGL components in my plugin are moving at different speeds depending on the monitor the window is open on. I can’t seem to figure out what is making the difference however. This same effect happens in the OpenGLApp demo in the DemoRunner, so am a little lost on this.
Essentially, I have a 3d object that is moving across the screen repeatedly. On my main monitor (2560 * 1440), the plugin draws how I’d like. (Let’s say the object moves 1 unit per frame); On my second monitor (1920 * 1080), the object actually moves half as fast (.5 units per frame). Originally, I thought the resolution was making the difference, but even setting my main monitor to 1920 *1080 does not fix the issue. I also thought it might be the refresh rate of the monitors, but it seems that even settings the OpenGLContext repaint rate to a constant easy speed like 10hz does not change this effect.
And I am already scaling the context by the desktopScale (which is 1 for both of the desktops anyway), so this isn’t a scaling issue I think. Both monitors draw everything to scale properly but just not the transform matrix applied to the 3d object.
Any help would be appreciated! Let me know if you need any more context.