» mouse coordinates not between -1 to 1
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

mouse coordinates not between -1 to 1

question resolved using-vvvv

dr.mo 22/02/12 - 02:47

I am working with an existing patch and my mouse coordinates (using system windows) go from around -0.3 to 3 rather than from -1 to 1 as expected (when i move mouse from one edge of the window to the other). is there any condition under which this makes sense?

5 replies 0 new

link | Flag this reply as a solution. tonfilm (devvvv) 22/02/2012 - 15:54

which mouse node do you use? the window gives you -1..1 for the renderer, whereas the global gives you -1..1 for the whole screen.

link | Flag this reply as a solution. joreg (vvvvgroup) 22/02/2012 - 15:56

as long as there is no mapping via e.g. Map (Value) involved this does not make sense. you say you're working with an existing patch. which one?

mouse (system windows)

and the values are directly out from the pins, nothing else connected to the mouse node whatsoever.

of course there are other mouse nodes in the patch which are connected but i wouldn't have thought they do anything funny?

link | Flagged as solution by tonfilm. Remove solution flag. tonfilm (devvvv) 22/02/2012 - 17:10

how do you know where the cursor is? do you draw it somehow?

yes! and that just answered my question! haha thanks

anonymous user login

Shoutbox

~3h ago

Urbankind: circuitb:Wrongcop is epic! :)

~4h ago

joreg: @tobi: use GetSlice() as the patch i referred you to is demonstrating. or start a forum thread with your patch.

~4h ago

TobiTobsen123: hmm yes i can see the values...but how to handle them as seperate values? I need to forward them via TCP/IP...

~6h ago

joreg: @tobi: OSCDecoder helppatch has a section: OSC_Advanced (bottomright) that demoes decoding of multiple messages

~6h ago

TobiTobsen123: I'm using an OSCDecoder, it receives two arguments...works but how can I seperate the arguments into two seperate values

~9h ago

u7angel: @mediadog, make it a forum question.

~9h ago

u7angel: @mediadog, tty renderer ?

~11h ago

microdee: however non-conductive objects are invisible for this so the pencil and the sticks in the video are still a mysteries