XML Feeds

.

[jitter] Tracking a mouse's co-ordinates inside a jit.window

Jean-Sébastien Rousseau jsrousseau at gmail.com
Fri May 2 07:08:49 MDT 2008


Here is another approach

If you make use of jit.gl.render in your patch try using the  
screentoworld method by passing the mouse x,y coordinates  from the  
jit.window as agruments 1 and 2, then just route screentoworld out of  
the jit.gl.render dump, and you'll get normalized coordinates for  
your mouse x,y (and z!) position.

JS

On 30-Apr-08, at 12:55 PM, David wrote:

>
> I thought i had this nailed and then i hit fullscreen mode and  
> whoosh new problems
>
>
> Neways i was wondering if there is anyway of tracking a mouse's x  
> and y values within a jit.window and only in that jit.window as  
> well as having the x and y values not changing in fullscreen mode  
> or on diffrent monitors.
>
> I know its a bit of a tall order but there must be some sort of way  
> round this problem
>
> Thanks for any help you can give guys
> _______________________________________________
> jitter mailing list
> jitter at cycling74.com
> http://www.cycling74.com/mailman/listinfo/jitter



More information about the jitter mailing list