• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

Project Templates

Author: Martin Zrcek
Date: 29 Jan, 2016
Category: misc
Credits:

focus4 GmbH for my consistent financing :)

Download

64bit

1-ProjectTemplates.zip
03 Feb, 2016 - 00:07
small update - naming and dx11 window handle
0-ProjectTemplates.zip
29 Jan, 2016 - 03:45
Blank, Stages, Example

Description

This is a bit experimental contribution, it needs a discussion, but from my experience it's ultra important and not solved in vvvv at all. consisting of two parts:

Project Templates

First, using it speeds up your work. That is proved and well tested. Second, you know the feeling, when you open your patch a month after you created it and have no clue, how a hell could it work? This should help, keeping structure pushes you to follow the most basic rules. In worst case it moves the mess from root patch two levels down :) Fixed project structure is actually very good in case you ever wanted to cooperate with somebody and even more beneficial to companies. Its all prepared and empty, just about to start patching.

The idea behind is to have template projects prepared for typical use cases. We do similar things many times (like a touch-table). Lets just prepare a template for it. Forcing you to keep the structure goes with it like a by the way detail.

StageCounter

is an alternative to Automata for project stage-logics. The problem I have with Automata is that I usually end with a number of "all to all" goto connections.

StageCounter outputs one stage, represented by a number or a name, to control your project, inputs change to state from Send nodes. It's usually all you need, because information about transition is just in a change of stage from last frame. It works with Send and Receive nodes and is not spreadable, so you shouldn't go crazy with it. This one global variable is generally not vvvv way of doing things, I just found it very useful in this specific case where v4 guys often have problems. And its clean and ultra fast way to make programs with it. There is an example included. This time I'm very curious about your responses as now it is very useful for me, but should be more open to others.

Both parts work together and help me to create projects much faster.

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
vjc4
07 Feb, 2016 - 19:59

Great idea, love the Template for DX11 and the quick acces to develop, shutup and kill just in case :)

Martin Zrcek
10 Feb, 2016 - 20:00

Hey, Andres! :) cool that you like it. It actually could be the most useful and is the he most ignored thing I ever contributed. It is strongly affected by my personal experience and should be more general. Would be nice, if more people added their tools and habits they use all the time, so we can choose.

Noir
10 Feb, 2016 - 20:04

useful

metrowave
15 Apr, 2017 - 18:55

Good job Martin!

pankao
14 May, 2017 - 14:10

Hey Martin, thanks for your efford! Going to look into it, sounds very promissing! Is your solution supposed to work on 64-bit v4 instance as well btw? Thanks mate

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top