Bodysoulspirit's picture
@Bodysoulspirit commented on @marcin's Discussion, “Make Integer node?

Yeah I don't remember of a simple "Make Value" node ;) Which could be there IMHO.

What you can simply do is add a share value node (from the node library or by right clicking the canvas), right click on the port, click "set data type" and choose Integer or Real.

Share value and Make value would actually be the same node so perhaps the team left it out to enlighten the library ?

marcin's picture
@marcin posted a new Discussion, “Make Integer node?

Make Integer node?

marcin's picture

I'd like to make a simple configuration for my compositions - using a few nodes with Integer / Real values. There are nodes like "Make 2D Point" and others for more complex values, but why there is no "Make Integer"?

I can create a "Wave" node oscillating from N to N, but that's an obvious hack. How to do this properly?

cwilms-loyalist's picture

I ended up using the 8-input Select Latest 2-input Select Latest nodes as well... but came up with a ridiculously convoluted way of using a bazillion more nodes to get the exact same result... your way is SO much more elegant!

I thank-you for pointing out how much I was overthinking this... I keep forgetting you can hold down Option and strip out data to just leave it an event and use it to trigger just about anything.

Bodysoulspirit's picture

Related feature request: Select and OSC nodes with variable number of ports.

Ah ok never even understood that FR was about that because somehow I had misread it and thought it was OSC only related.
Perhaps it could be something like "Allow more inputs (user defined) for the 2 or 8 inputs nodes (Select Nodes, OSC ...)"

Don't know.

I always wondered why those had been limited to 2 or 8 instead from start and now requires a FR for that ;)

Perhaps somehow related to that is also your FR Add drawers to output ports. Guess if we want user defined output numbers for select nodes, drawers have to be enabled for outputs.

jstrecker's picture

This is now implemented, including the delay for edits — Improved email notifications for vuo.org posts.

Jérôme Lanon's picture
@Jérôme Lanon posted a new Discussion, “Make CMYK Color
jstrecker's picture

If the button presses are coming from outside of Vuo, such as TouchOSC, and each is identified with an index (1-16), you can use Get Item from List in place of Select Input, as shown below and in "Get Item From List as Select.vuo". Get Item from List allows for 16 or even more choices.

If the button presses are coming from Vuo's Make Button node, you can use a combination of two 8-input Select Latest nodes and a 2-input Select Latest node, as shown below and in "Select Latest with names.vuo".

"Select Latest with indices.vuo" additionally shows how to convert a Make Button press to a numerical index (1-16), use the index to check if you should show an image or a movie frame (Select Output), and use the index again to choose the image or movie file (Get Item from List).

Related feature request: Select and OSC nodes with variable number of ports.

cremaschi's picture

Hey followers of this post, none of you wishing to contribute to program this? https://github.com/micrem73/VuoARToolkit

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.