boomshokka's picture
boomshokka commented on boomshokka's Discussion, “connecting points with lines ?

Hey :) thanks for your reply man. This is almost what I was looking for. I got to the point where I can connect dots, but lets say you would like a line from the top right corner going to every body part, like a kind of laser effect. would i have to make line mesh nodes for every single line?

Bodysoulspirit's picture

Hey, I posted a comment but somehow it went to a wrong place, trying to link to it : Comment

Kewl's picture

Yes, you're right. But... For me it changes the strategy for the image rendering from layers.

Let's say I want a 1x3x1 tube scaling. A good image for that would be 3140x3000 pixels. But if the image is applied to the tube before the tube scaling, the image will be squeezed to 3140x1000 pixels (loss of data) and than re-stretched to 3140x3000 (extrapolation of data). I have waisted CPU cycles to render an image bigger than necessary and to squeeze that image.

If I know that the image is applied before the tube scaling, I can distort the layers (taking into account the tube scaling) before render to image and render the image at 3140x1000. Once applied and scaled on the tube, the image will have the good proportions, but I will have potentially saved a few CPU cycles by avoiding the generation of "useless" pixels that get lost on the image squeezing.

Or maybe not... Is Vuo vectorizing matrix data for processing?

Bodysoulspirit's picture

I may have a very dumb question here but how would you want to prepare the image differently then with the correct ratio ? If you input a false one it would not look on the right ?

Either way you'd need to give it the correct ratio no ?

boomshokka's picture
boomshokka posted a new Discussion, “connecting points with lines ?
grahamis's picture

Noob question how to process an unknown string to break it up nicely.

hi all, first post, I'm just getting my head around vuo so forgive me if this is very obvious and my sample patch is wrong. I would appreciate all feedback :)

I'm trying to make a comp that will take a string of various lengths up to 144 characters, and then it will break it down so that it displays shorter messages bigger and longer messages smaller, for best readability while keeping the text all within a set area of my window. (red box in attached comp)

cwilms-loyalist's picture

OK, Jaymie... the first XML was working the way I expected however I was using the output of the first XML as an input for searching the second XML and ran into a stange issue where it's returning an empty list. I can't figure out why... it looks right to me. I've gone over it about 30x and made changes to the naming I was using in the XML to simplify things and everything and I can't figure it out. Any ideas what I am missing? It's probably simple. I'm really confused because after your suggestion above about using quotes I had no trouble getting the first XML to work and the second one is even more basic than the first.

cwilms-loyalist's picture

Chris, you need quotes around part of the XPath expression — replace /diplomas/program[code=scan] with /diplomas/program[code='scan'].

Thanks Jamie! This worked, looks like it's going to do what I need it to do. Fantastic work!

Kewl's picture

No, no, everything looks as I want. It's just I want to be sure how the image is applied to prepare the best image possible considering how the image is processed when applied to the tube.

Bodysoulspirit's picture

Perhaps it depends on how you build the composition.

If you connect Fire on Start to Shade With Image that is connected to the Make Tube its material port, or if you connect Fire on Start to both the Make Tube and the Fetch Image image node.

You mean because you see the tube first appear at some size before being resized or what ?

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 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.