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: 904
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: 144
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: 144
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: 144
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: 904
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: 144
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: 904
Joined: Mon Nov 12, 2007 6:21 pm
Location: Toronto

Re: camSchnappr 2.0 Beta

Postby bwheaton » Tue Sep 03, 2019 3:43 pm

Hey - this is awesome!

Getting a weirdness with the Cameras parameter. When I specify one, it's fine. When I specify multiples with a space in between, I get path not found. Obviously various stuff breaks from there.

Did the way to specify multiple items change? Wildcard doesn't work.

Bruce
bwheaton
 
Posts: 337
Joined: Mon Mar 19, 2012 1:33 am

Re: camSchnappr 2.0 Beta

Postby bwheaton » Thu Sep 05, 2019 1:54 pm

Ping - @Markus, any clue why I can't specify multiple CamSchnapprs in the cameras list? Am I doing it wrong?

Bruce
bwheaton
 
Posts: 337
Joined: Mon Mar 19, 2012 1:33 am

Re: camSchnappr 2.0 Beta

Postby snaut » Wed Sep 11, 2019 1:53 pm

Hey Bruce,

please have a try with attached camSchnappr. As Custom Parameters of the OBJ type didn't evaluate for multiple specified camSchnapprs, the script failed.
The attached should fix this. This will be added in the next release.

Best
Markus
Attachments
camSchnappr.tox
(37.51 KiB) Downloaded 7 times
User avatar
snaut
Staff
 
Posts: 904
Joined: Mon Nov 12, 2007 6:21 pm
Location: Toronto

PreviousNext

Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 6 guests