Kewl's picture

Would be helpful in avoiding Process List when having to do math (Add Lists, Multiply Lists, Calculate List) on multi-D lists: the results could simply be integrated as new Ds in the original point or list.

Comments

The ultimate solution to this

jstrecker's picture
Submitted by
Feature status:
Waiting for review by Team Vuo
»
Merged

The ultimate solution to this would be Iteration: Turn most nodes into iterators by allowing single-value ports to accept lists and Lists within lists. I see how adding 5D, 6D, etc. points could be useful in the meantime, but after discussing with some of the team, we're thinking it would be better not to add these temporary nodes that, for some people, might just clutter their node library, and that would enable us to get to iteration and lists of lists a little bit sooner. If you or anyone else would be interested in a little C coding, it would be pretty straightforward to make custom nodes for as many multi-Ds as you want if you started with the source code for 4D point nodes.

Thanks, if it's coming in

Kewl's picture
Submitted by

Thanks, if it's coming in some form or another, I'll gladly work with it when it's available.

Looking at the code for Make 4D Point, modifying the source code seems straightforward enough. What should I use for compiling (or are there instructions somewhere on how to compile)?

#include "node.h"
 
VuoModuleMetadata({
                     "title" : "Make 4D Point",
                     "keywords" : [ "homogenous", "xyzw", "coordinates", "vector" ],
                     "version" : "2.0.0",
                     "node": {
                          "exampleCompositions" : [ ]
                     }
                 });
 
void nodeEvent
(
        VuoInputData(VuoReal, {"default":0.0}) x,
        VuoInputData(VuoReal, {"default":0.0}) y,
        VuoInputData(VuoReal, {"default":0.0}) z,
        VuoInputData(VuoReal, {"default":0.0}) w,
        VuoOutputData(VuoPoint4d) point
)
{
    point->x = x;
    point->y = y;
    point->z = z;
    point->w = w;
}

Quick start

Kewl's picture
Submitted by

Quick start / The easiest way to start developing a node class is with one of the example Qt projects for a node class, which are provided with the Vuo SDK. / Install Qt and Qt Creator.

As Qt ask for Xcode, I would write "Install Xcode, Qt, and Qt Creator."

Now Qt is saying:

Kewl's picture
Submitted by

Now Qt is saying:

Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.

Error while parsing file /Applications/Vuo SDK/vuo-1.2.6-sdk/example/node/stateless copie/example.stateless.pro. Giving up.

So I run /usr/bin/xcodebuild in the Terminal and it outputs this:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

This is with macOS 10.13 and Xcode 9.

Feature status

When we (Team Vuo) plan each release, we try to implement as many of the community's top-voted feature requests as we have time for. Vote your favorite features to the top! (How do Vuo feature requests work?)

  • Submitted to vuo.org
  • Merged