Forums > Jitter

particles rebounding or bypassing object

January 14, 2009 | 4:28 pm

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. –

January 14, 2009 | 9:02 pm

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


January 17, 2009 | 11:42 pm

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.


January 19, 2009 | 9:14 am

thanks a lot for the information robtherich.
I


January 19, 2009 | 7:09 pm

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. –

Viewing 5 posts - 1 through 5 (of 5 total)