Pianomatic's picture

Nodes to convert from Text to most other types

[From More type conversions...]

It seems to me that if one can convert something to text (in the way that a 2D Point converts to text, not how an image does), one ought to be able to convert it back after.

Component: 

Notes from Team Vuo

Vuo Pro: 

No — available with both Vuo and Vuo Pro licenses

Complexity: 

●○○○ — Up to a few days of work

Potential: 

●○○ — Appeals to current community

The existing anything-to-Text type converter, Summarize Value, outputs data in a format that is human-readable (in fact, the same as the description in port popovers) but not necessarily straightforward to convert from Text back to the original type.

For this feature request, we could provide a Convert Value to Text node that outputs the value in JSON format and a Convert Text to Value node that inputs a value of the same format or certain other type-specific formats.

For example, an Integer or Real would be just the number (99). A Color could have one of several formats including {"r":0.5, "g":1, "b":0, "a":1} and 0.5, 1, 0, 1 and #7fff00.

cwilms-loyalist's picture

Receive Live Video node- Start/Stop not working properly

Status: 

Vuo version: 

Fixed in Vuo version: 

OS version: 

  • macOS 10.12

How severely does this bug affect you?: 

●●●○ — It prevents me from completing a specific task with Vuo.

Steps causing the bug to occur: 

  1. Connect Receive Live Video node to Render Image to Window node
  2. Connect Fire on Start node to Start port on Receive Live Video node.
  3. Run Composition and on the Receive Live Video mode Right Click on Stop port and Fire Event.
  4. Now try and start the video again with the Start port... it won't start. Or am I doing something wrong?

Have you found a workaround?: 

No

Other notes: 

I'm trying to disable this node for 2 video seperate input devices when the composition doesn't require them but I can't and once it's stopped it won't start again unless I close and restart the composition.

jstrecker's picture
@jstrecker commented on @Jérôme Lanon's Discussion, “Make CMYK Color

There are different ways to convert between RGB and CMYK.

In Photoshop, the method depends on the color profile you've chosen for the document.

In Vuo, the method is always a linear formula ((1-C)*(1-K)). This is the same one used by http://rgb.to/hex/44ff30, for example.

A different site, http://www.codecrete.net/CMYK, which uses the ISO Coated v2 300% Color Profile, gives a result closer to what you're seeing in Photoshop.

If you're interested in Vuo supporting more than one color profile, you're welcome to create a feature request.

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

@marcin, I'm glad you have a solution :)

We'll add "make" as a keyword of Share Value so it comes up in searches.

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

@Bodysoulspirit, yeah, rather than including the same node twice under different names, which could be confusing, we like to use search keywords so the node comes up if you search for either possible name.

Btw, related feature request: Ability to detach constant value flags and connect them to multiple nodes

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

I didn't know you can right-click and select value type. "Share Value" node solves my case.

Thanks @Bodysoulspirit!

krezrock's picture

Wonderful addition! Will cut way down on my poking the site.

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?

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.