Help Configure the mainloop
Author vvvv group
Credits
Warnings
Bugs
start a forum thread about this node
The mainloop defines, how fast vvvv can run. By default it runs as fast as possible with a maximum of 120 in foreground and 30 in background, which means that vvvv is sometimes a little faster and sometimes much slower, even if it tries to run at a constant framerate.
The mainloop does not only affect drawing issues, but the whole application including the GUI.
Try to set the Foreground FPS to a very low value (1 or 2), create some nodes and connect them. Notice how long it takes until things happen.
MainLoop is the way to control the speed of operations and flow.
The time modes are:
The Increase Timinig Precision config-pin is on by default. While causing a smoother framerate in many cases it also causes higher CPU-needs in all cases. You'll have to find find out for your case if you want to change this setting. Here is a good read on the topic Windows Timer Resolution Megawatts wasted.
This node is a singleton
With the mainloop node you only can slow down vvvv. If the fastest possible speed to do your rendering is lets say 180 fps then there is no possibility to do the same calculations faster. VVVV will happily use 100% of your CPU when trying. With mainloop you can slow it down to allow other programs on your computer to run.
Note that if you have a Renderer (DX9) and the Sync-Mode of the renderer is not "immediate present" then it's not possible to run faster then screen refresh rate of your monitor.
If there is no mainloop node, vvvv defaults to 120fps in foreground mode. if you want to increase that you have to add aMainLoop and set this to a higher value.
For now we had to block setting the mainloop to values 0 because since the gui also depends on the mainloop it would not be possible to reset the value to something else after having it set to 0 once. ahm..this is by design (flaw). You may encounter a gist of that problem when setting the mainloop to some lower values.
It was for experimenting with the process of loading textures or xfiles in background. But probably we will remove that pin again.
anonymous user login
~5d ago
~7d ago
~9d ago
~12d ago
~12d ago
~20d ago
~26d ago
~26d ago
~27d ago
~1mth ago