particles rebounding or bypassing object

Jan 14, 2009 at 4:28pm

particles rebounding or bypassing object

I’ve been trying to create a particle rebounding on a gridshape, but now idea how to start.

could someone give me a hint, please?

– Pasted Max Patch, click to expand. –
#41682
Jan 14, 2009 at 9:02pm

i think you have a few options.
use a physics library. the available options are the lua-ode mod, pmpd, msd. all i’m aware of.

http://www.cycling74.com/forums/index.php?t=msg&goto=120794

do the math yourself using the matrices from shiva/vishnu.
you can look at this old patch simulating a black hole for inspiration perhaps:

http://www.cycling74.com/forums/index.php?t=msg&rid=3061&S=76faaf7cdfea233466e528b206813e7a&th=9158&goto=28162#msg_28162

possible other option to do with shaders:

http://http.download.nvidia.com/developer/SDK/Individual_Samples/samples.html#gpu_particles

#148560
Jan 17, 2009 at 11:42pm

http://http.download.nvidia.com/developer/SDK/Individual_Samples/samples.html#gpu_particles

Im curious, do any of these work for you in jitter? Im running a macbookpro with radeon x1600, which seems to have not much shader support. But my main issue is, I am not sure how to test these out, like the particle one, is there a way someone who knows shaders better then I do could make a test patch for some of these? Id really love to see if they work, seems like they could be incredibly useful if they do.

#148561
Jan 19, 2009 at 9:14am

thanks a lot for the information robtherich.
I

#148562
Jan 19, 2009 at 7:09pm

here’s an example of how to create “walls” using p.shiva.
also shows how to use gl.multiple with p.shiva.
let me know if it doesn’t make sense (it’s ripped from an existing patch i’m working on).

-rob

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

You must be logged in to reply to this topic.