Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Matrix math - TouchMarker

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
joschy
Posts: 142
Joined: 19 Jan 2012, 07:39
Location: Düsseldorf, Germany
Contact:

Matrix math - TouchMarker

Post by joschy » 04 Mar 2013, 18:44

Hi there,
I have a little problem with some mathematical stuff.. :roll: We use the TouchMarker Node and it´s work fine. We get the screen position where the marker is touch the surface. But how the hell can I transform the screen position in world/view coordinates, so I can attache a transform node to the Marker ID pos? I want, that if you move the Marker object on the surface some attached stuff will following the move.

Tia, joschy
3DJo - [Ventuz] freelancer and trainer

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Matrix math - TouchMarker

Post by chriss0212 » 04 Mar 2013, 23:44

hi

i never used touch marker but: is the given position like tuio standart between 0-1? if so, you can use clipping nodes with the input property min=0 max=1 and output min=0 max=screen resolution

greetz

christian

joschy
Posts: 142
Joined: 19 Jan 2012, 07:39
Location: Düsseldorf, Germany
Contact:

Re: Matrix math - TouchMarker

Post by joschy » 05 Mar 2013, 08:45

Yeah, it seems the way to go. Thought there are similar functions like in unity3d.... ScreenToWorldPoint


greetings, joschy
3DJo - [Ventuz] freelancer and trainer

joschy
Posts: 142
Joined: 19 Jan 2012, 07:39
Location: Düsseldorf, Germany
Contact:

Re: Matrix math - TouchMarker

Post by joschy » 05 Mar 2013, 18:09

strike, got it working :D
TransformProjection.PNG
TransformProjection.PNG (14.64 KiB) Viewed 4135 times
3DJo - [Ventuz] freelancer and trainer

Post Reply