Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

camSchnappr 2.0 Beta

Share your components here. First one to 100 wins!

Re: camSchnappr 2.0 Beta

Postby snaut » Mon Jun 03, 2019 12:44 pm

Hey Jacques,

I wonder if the culprit of all this is the TouchOSC option to send Touch Message (/z) I have this enabled and am actually using it in the osc callbacks.
Is it enabled for you?

Best
Markus
User avatar
snaut
Staff
 
Posts: 892
Joined: Mon Nov 12, 2007 6:21 pm
Location: Toronto

Re: camSchnappr 2.0 Beta

Postby jacqueshoepffner » Tue Jun 04, 2019 9:23 am

Dear Markus,
I tried with /z activated and its better but not perfect (perfection is always hard to reach…)
– now position fine 2D cursor is working as expected
– when I press the right "select point" button, number are going 6, 5, 4, 3, 2, 1, 0 at reverse of the waited behavior
– when I press the left button, there is still a weird order 0, 4, 1, 5, 2, 6, 3
Thank you for your commitment.
All the best, Jacques
Jacques Hoepffner
visual artist, programmer
Isadora, Processing, Unity 3D, TouchDesigner
jacqueshoepffner
 
Posts: 127
Joined: Fri Dec 23, 2016 4:59 pm
Location: Paris (France)

Re: camSchnappr 2.0 Beta

Postby jacqueshoepffner » Tue Jun 04, 2019 9:25 am

And its the same weird order with Tab key
Jacques Hoepffner
visual artist, programmer
Isadora, Processing, Unity 3D, TouchDesigner
jacqueshoepffner
 
Posts: 127
Joined: Fri Dec 23, 2016 4:59 pm
Location: Paris (France)

Re: camSchnappr 2.0 Beta

Postby jacqueshoepffner » Tue Jun 04, 2019 9:47 am

Another question:
In the precedent camSchnappr, it was possible to use matrix and exports DAT to configure another camera or, most useful for me, a light to simulate a video projector. I think I found the matrix (/intrisincs) but not the parameter with the camera position, rotate etc. Do you think its possible to retrieve it?
Jacques Hoepffner
visual artist, programmer
Isadora, Processing, Unity 3D, TouchDesigner
jacqueshoepffner
 
Posts: 127
Joined: Fri Dec 23, 2016 4:59 pm
Location: Paris (France)

Re: camSchnappr 2.0 Beta

Postby snaut » Tue Jun 04, 2019 12:21 pm

Hey Jacques,

ha - yeah - fixed one side and broke the other. Tab and TouchOSC point selection is now fixed - main issue was due to /z coming in from TouchOSC and the command running twice..

I've added 2 more things:
  • Use the Mouse Wheel and Shift+Mouse Wheel on the output window to move selected points vertically and horizontally.
  • You can retrieve scale, rotation and translation from camSchnappr by calling the extension Method Decompose(), this will return a tuple of tuples.
    Code: Select all
    camSchn = op('/camSchnappr')
    s, r, t = camSchn.Decompose()

The position of the camera is in the extrinsics Table DAT represented as a Transform Matrix. The intrinsics is essentially the projection Matrix of the camera.

Thank you Jacques for your continued testing! A new version 2.0.6 has been uploaded to the orinial post.

Best
Markus
User avatar
snaut
Staff
 
Posts: 892
Joined: Mon Nov 12, 2007 6:21 pm
Location: Toronto

Re: camSchnappr 2.0 Beta

Postby jacqueshoepffner » Tue Jun 04, 2019 4:00 pm

Dear Markus,
Thanks for all! Tab are working, I am far away from home so no OSC at the moment but I found camera position and matrix. Everything perfect, alles in ordnung.
Jacques
Jacques Hoepffner
visual artist, programmer
Isadora, Processing, Unity 3D, TouchDesigner
jacqueshoepffner
 
Posts: 127
Joined: Fri Dec 23, 2016 4:59 pm
Location: Paris (France)

Re: camSchnappr 2.0 Beta

Postby snaut » Thu Jun 06, 2019 6:37 pm

Another update:

I realized that the project component was not properly updating when using a new SOP.
Also the camera of the main window resets to a position that should make better sense for all kinds of scaled sops.

Best
Markus
User avatar
snaut
Staff
 
Posts: 892
Joined: Mon Nov 12, 2007 6:21 pm
Location: Toronto

Previous

Return to Shared .tox Components

Who is online

Users browsing this forum: dus and 6 guests