Able to click on moving gridshapes.

sodejuuu's icon

Hi,

I am developing a touchscreen interface in Jitter with no tird-party software.
I made a nice framework in jitter with several videoplanes and text objects in a so created interactive videowall.
For the design, i converted all the video's to a jit.gl.gridshape, so i can scroll trough all the video with the render camera movements. The user, which sees the jit.window screen, must be able to click on the videoplanes.

My question is how can i get each of the video gridshapes give an hover-over function and working like a button.
(When the user clicked the video, the camera movements are moving to a fullsize video view)

Another solution i was trying is to have the real coördinates of the gridshapes, but they have to be adjusted when the jit.gl.render camera angle is different. But i don't know how to get those coördinates.

Anyone suggestions?
Really thanks in advance!

Stefan

Rob Ramirez's icon

hi stefan. check out the jit.gl.picker help file, specifically the tab labled "proxy". this shows how to use jit.gl.picker with the jit.proxy object to create mouse-over effects.

sodejuuu's icon

Hi Robert,

A really nice solution!
Thanks a lot. This was exactly what i was searching for!
I knew that Jitter could do something like this, but didn't know the option.

I'm very happy!
Greetings,

Stefan