How to generate multiple videos in one window?

Nov 6, 2011 at 7:08pm

How to generate multiple videos in one window?

Hi, I am a student and I’m working on a school project with Max. I haven’t been using Max for long so please bear with my ignorance.

The project we’re working on is simulating the act of ‘blowing bubbles’. So what we’ve been doing is recognizing the position of our mouth, then generate a new video of a bubble in that position whenever a certain sound command is made, then the bubble floats randomly around the screen.

The biggest problem we’re currently having is how to generate more than one video of the bubble in the same screen. As in when we try to generate another bubble, the previous one will disappear. And we probably want a whole lot of bubbles floating around inside the screen.

Is there any way to achieve that? Any help would be very much appreciated.

#59852
Nov 6, 2011 at 8:07pm

For this sort of thing I would probably use jit.gl.multiple, you should be able to adapt this to your needs:

– Pasted Max Patch, click to expand. –
#215444
Nov 8, 2011 at 3:48pm

Thanks Luke. I am from the same group as kiddou and also a beginner in max. It seems that jit.gl.multiple generates many video instances but we would like to be able to affect each bubble generated (as the bubbles will be of different sizes depending on the amplitude and each bubble has to move). Attached is a prototype of our patch. Really sorry if its super messy , the bubble part is in p mouthtracker. Really appreciate the help and thanks a lot for being patient with us.

#215445
Nov 8, 2011 at 9:13pm

jit.gl.multiple is still your friend, have a look at the help file you can control lots of parameters of each bubble individually such as position, scale, rotation, colour etc. Here’s an example:

– Pasted Max Patch, click to expand. –
#215446

You must be logged in to reply to this topic.