[ANSWERED] 3D particles actor / video gen input
-
Is it possible to run video into the video gen input on the 3D particles actor? I have no problem running a video into the texture map input at the top, but the video gen input looks more interesting. Any advice? (I notice the input says "vid-cpu" instead of "vid-gpu" but I also wouldn't know how to get CPU video instead of GPU video.)
-
Hi,
Just an initial warning that this feature can be CPU intensive and quickly bog down on frame output rates. Example patch attached here uses low res 240 x 135 video input:
The ‘video gen’ input can be used to define the birth location of particles and is an alternative to triggering the 'add obj' xyz position at the bottom of the module (as indicated by the help text for this input). You can gain some familiarity with how this input works by linking a fairly contrasting video file and tweaking the 'vg threshold' parameter. The vid-gpu will convert to vid-cpu when connected to the 'video gen' port. However, to avoid crashes when you do this use a 'GPU to CPU Video Converter' module. : MoviePlayer> GPU to CPU Video Converter> Video Gen/3D Particles.
Tweak the 'vg' parameters - start with the 'vg threshold' to get a result. What you will notice is that particles are initiated in a rigid grid formation within tonal areas dependent on the contrast/threshold level assignment you have set.
You might also try a video input for the 'video gen' that is a high contrast outline. For example the 'Shapes' module with an outline only configuration in black and white. Then animate the Shape x y parameters. See example Isadora patch attached that demonstrates the using an animated 'Shapes' module (there are a number of snapshots with various tweaks in the patch).
The results can be interesting, however the regularity of the particle grid emitted can be disappointing especially if you are seeking an organic particle effect.
Best wishes
Russell
-
@bonemap thanks!