Login  Register

Re: GLCanvas's mouseDragged problem

Posted by Sven Gothel on Mar 12, 2013; 2:16pm
URL: https://forum.jogamp.org/GLCanvas-s-mouseDragged-problem-tp4028590p4028598.html

On 03/12/2013 03:10 PM, gouessej [via jogamp] wrote:
> If the interval is quite small, you just have to compute the points along the
> line between the previous point and the current point with a discretization
> step, it is not difficult.
>
> Look at GL.setSwapInterval() to modify v-sync. NEWT is the native windowing
> toolkit of JOGL 2.0. I think it wouldn't really solve your problem because you
> wouldn't get something continuous anyway.

vsync is unrelated to the granularity of mouse dragged events.

actually granularity of all input events are platform dependent,
i.e. they are being created by the native toolkit (X11, GDI, ..)
and forwarded to NEWT .. AWT .. etc.

~Sven



signature.asc (911 bytes) Download Attachment