» 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

~3mth ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: http://vvvv.org

~4mth ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~4mth ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~4mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~4mth ago

~4mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~5mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~5mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~5mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~5mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/