Wire > fit to patch size

Post your questions here and we'll all try to help.
Post Reply
JonasVorwerk
Met Resolume in a bar the other day
Posts: 14
Joined: Mon Oct 23, 2017 20:13

Wire > fit to patch size

Post by JonasVorwerk »

Hi everyone,

Started to work with Wire a few days ago and obviously many beginners questions are popping up. Mainly about sizes and how to make things pixel perfect.

In the following patch there is a rectangle shown in blue, using dimensions to make it fullscreen (patch size)
My goal is to create 32 lines in red, exactly the same size as the blue rectangle.
I've experimented with "fit fill stretch" but no results yet.

Image

Another noob question, is it possible to open a help patch while leaving your work open? :?

Zoltán
Team Resolume
Posts: 7075
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Wire > fit to patch size

Post by Zoltán »

Shapes are sized relative to the patch size. 1 means the patch height.
There is a Patch info node, which has the resolution as outlet.
Leave the rect height on 1, and calculate the aspect ration from the width/height, and connect that to the rect width:
--begin-wire-patch--
544.3ocoU1zaiCBDF9uxJNaVAX7Gw2ZCoR6sUqzdpJGvXRLZcfHab61Mx+2WvNwIoNIsQ8hwd3YXFdYF7Nfvn0RgUYzMfrm2AVUa13dAG.Ls1ssVDXY.vZblHA.kdvRWvTP7DP7Yfn.PsrwT05i0HKdO6YnjoAOL.7ppvV53blzlBoKc2AP9GbqsVk2Z6M0E.xMs5h9oKkp0kVPFFEev+L7rn.vecijYAf2.Yg3DmOhJdSuKpBPFHIIdVBINBJEwTHktJAlSowvBIgiHDjHJOED.dQV232LYn9UvH9iy2WTERiaRmv1X4Z69jpTUTHcnO6Se9Foi7mbqn7a+Pux.b.3IaEvpJyq9Q6aa878e5hJup0+YiZslW4csWAgCTizhRiRHOg+oJC2RF38YlXHH6w0saxk0GwwcWTISISDxP+nSHo33qKjrGoDHMYACNCwdD9v74DB6gvEyCI2iPtuX4LMwuoFSaWYFZY2k06eq2xcqraRxWTqQvB0FotYnqYzoSLdLgVdvI7c5Ti5exab.QbH9oPmvzObLq6EGvdN7Gx8YOviIoCG3zaz4fXQQPZZzBXJNjASPwLVD6oEoor6+.G89S7SqSGus4FLWtffo7gzKPgSKH9BMIW55lzzOw0Mzh7XHMJIDlx4IPJILljKnzYg36RzNjH2Rzp8o86Qnm2IEz2MMtWt1xg9dzUT3e490BWutR1Wc4u+usdPR659ONoWBQA
--end-wire-patch--

Wire currently only supports one patch open at a time. Make sure you save your patch before opening an example. Then you can load it back quickly from recents.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

JonasVorwerk
Met Resolume in a bar the other day
Posts: 14
Joined: Mon Oct 23, 2017 20:13

Re: Wire > fit to patch size

Post by JonasVorwerk »

Thanks @zoltan, that makes things clear.
btw: love this Max style patch copying ;)

{"connections":[],"nodes":{"298":{"attributes":{"font-size":{"type":"number","value":19},"text":{"type":"text","value":"how to include this onto the forum?"}},"bounds":{"height":115,"width":195,"x":1305.907958984375,"y":2480.8623046875},"class":{"id":"77697265-3C1D-467D-A722-0FC566538374","version":0},"clock":"video","constants":{},"hidden":[],"name":"Comment"}}}

Post Reply