» HowTo VVVV with Delphi
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

HowTo VVVV with Delphi

acl(admin devvvv vvvvgroup)

Node inheritance

UML diagram would be nice...

Callbacks

In which order are they called? Diagram would be nice...

CalculateNodeAndOutputSliceCounts

Returns the SliceCount of a node, which is used to set the SliceCount for pins which were created in spread mode cmsmSpread.
If a pin was created in spread mode cmsmManual its SliceCount has to be set here with the method .SetNodeWriterSliceCount(value: Integer).

EvaluateCB

Each pin can register it's own evaluation callback on creation. Usually for each output pin the same evaluation callback method is registered.
The callback is called when the pin is connected to another pin and that pin has to be validated.
Usually this method looks like this:

  1. Validate all input pins needed for calculation of output pins
  2. Calculate output pins (main work goes here)
  3. Set output pins validated

PrepareGraphCB

Creating Pins

Spread Modes

cmsmSingle

This pins SliceCount is always 1.

cmsmSpread

This pins SliceCount is always automatically the maximum of the SliceCounts of all the input pins on that node (if all input pins have a SliceCount > 0)

cmsmUpstream

This pins SliceCount isn't influenced by other inputs but is always equal to the SliceCount of the pin connected upstream. This mode is only for input pins!

cmsmManual

This pins SliceCount can be manually set via the .NodeWriterSliceCount() function.

Value Pins

String Pins

Color Pins

Node Pins

Transforms

Textures

Audio/Video

SubTypes

SubTypes are used by the UI to know which pins can be connected and to set default values for newly created pins.
They have to be set on creation of a pin.

ValueSubTypes

StringSubTypes

anonymous user login

Shoutbox

~5d ago

joreg: The summer season of vvvv workshops at The NODE Institute is out: https://thenodeinstitute.org/ss24-vvvv-intermediates/

~5d ago

domj: If you happen to be in Prague, come join us at the Schema workshop on Thursday 25.4. :) https://www.facebook.com/events/395516526614988/?ti=ls

~17d ago

joreg: Postponed: Next vvvv beginner course starting April 29: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2024/

~1mth ago

~2mth ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/