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

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

possible other option to do with shaders:

Jan 17, 2009 at 11:42pm

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.

Jan 19, 2009 at 9:14am

thanks a lot for the information robtherich.

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


– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.