cosin's picture

Ooooh, shift-drag, I see, thank you!

jstrecker's picture

Welcome, @cosin :)

In your first screenshot (where the cable is already connected), the cable from Fire Periodically : Fired to Smooth with Duration : Set Position is a thin cable, called event-only. In your second screenshot (where you reconnected the cable), the cable is a thick cable, called data-and-event. The thick data-and-event cable carries more information than the thin event-only cable, namely the data from the Fire Periodically output port (the number of seconds since the composition started). This data overwrites the data in the Smooth with Duration input port. The thin cable, on the other hand, lets the input port keep its data.

To draw the thin event-only cable instead of the thick data-and-event cable, hold down Shift while dragging the cable.

The same thing is going on in your third screenshot. The cables from Receive Mouse Clicks to Select Latest are event-only, so they don't affect the data in the input ports.

If you want the Select Latest to select between 2D points instead of text, you can right-click on one of its ports and choose "Revert to Generic Data Type" (or drag a new Select Latest node from the Node Library), then drag cables from Receive Mouse Clicks to Select Latest. These will be the thick data-and-event cables, and connecting them will change the Select Latest ports to 2D points.

If you're not familiar yet with the concepts of data and events, there's a lot of information about them in the manual.

jstrecker's picture

Be able to set the initial value on an input port that has an incoming data+event cable

When you run the above composition and click on the window, the composition displays the coordinates of the point where you clicked.

What does it display before the first click? Perhaps surprisingly, it's Hello World! That's because Hello World! is the default value of the Text input port.

This feature request is to make the port's initial value visible somehow and to make it editable, so you can change it to something other than the default.

Currently, if you want to set an initial value, you have to add some extra nodes. For example, the below composition displays the text nothing yet until the first mouse press.

Component: 

vjsatoshi's picture
@vjsatoshi posted a new Composition, “GeodesicDome
mixfilet's picture
@mixfilet posted a new Composition, “terraforming
balam's picture
@balam commented on @balam's Discussion, “Interface suggestion

Hi Jaymie thanks for your reply. sure, as example , add an image background to a compositon that renders objects , I had to try several nodes to finally discover the image to object node. this in maxmsp land could be easly done using a jit.matrix node. what it makes it easy is intuition = working in max visual nodes is called jitter so all the nodes related to visual are called using the ji.x prefix, and having an auto prefill features help to discover nodes quickly. matrix in max are like bridges for data. Again I love vuo , vuo takes beyond what maxmsp jitter can do, and maybe do some pre-made nodes that do the core functions could make Vuo a great visual programming tool for Artist ( non programers) like maxmsp did with vizzy and Beap. best

cosin's picture

How to connect a cable and keep existing value

cosin's picture

Hi, newbie here, as you might imagine. I searched for this in various ways but didn't find anything.

How do you connect a cable to a port, and have that port maintain its original value? I attached an example where SmoothWithDuration is already connected, but if I connect it again it erases the existing value (0).

Or even stranger, another example shows a Mouse Clicks node that outputs 2D points coords, connected to a Select Latest that has custom string inputs, and that's what it outputs, not the 2D points. I tried to set a type but that's not it. What's this sorcery?

pbourke's picture

So, if on the output of my movie node, "last event" says 30fps can I be confident that the the movie is not dropping frames?

But what I am really want to do is .... I have written a GLSL shader that does some pretty heavy lifting. I want to see how it scales with the output resolution of the image it generates. Specifically if the updates on the window are dropping below the 30fps of the movie. Suggestions?

jstrecker's picture
@jstrecker posted a new Answer, “Answer to Frame rate question

Most reliable is to look at the port popover for the trigger driving the rendering.

For a rate other than the refresh rate, you can use Fire Periodically. (The reason that the window nodes always fire at the refresh rate is to avoid screen tearing.)

Pages

Welcome!

Vuo is more than nodes and cables, it's a community! Feel free to browse or add your voice.

Browse Discussions

Start a Discussion


Browse Questions and Answers

Ask a Question


Browse Feature Requests

Suggest a Feature


Browse the Composition Gallery

Share a Composition


How can I get notifications?

Learn more about the community

Learn more about Vuo

Vuo Announcements

Sign up for the Vuo announcements mailing list to get news and join the community. We post about once per month.

Image CAPTCHA
Enter the characters shown in the image.