Forums > Jitter

Metaballs?

February 17, 2009 | 12:56 pm

I’m curious if anyone has created anything resembling metaballs in jitter. I wonder if theres a way to implement them in real-time that wont be to CPU heavy. I would like to do some fluid like effects, in 3d opengl. Im also curious if anyone has done any interactive 2d fluid sim externals, I remember seeing one that was just for PC, but I cant find it anymore. I think it was called smoke or something like that…


February 17, 2009 | 6:52 pm

I don’t really have the time to work this out right now, but you should be able to hack something together using jit.expr, jit.gl.isosurf, and a 3D matrix. In the meantime, try playing with the RagingSwirl recipe, and I think Nesa made an example of something similar soon after we released Jitter 1.5.

Search the archives…

Andrew B.


February 17, 2009 | 11:04 pm

Thanks Andrew. That’s not a bad idea, I figured isosurf would be involved but I don’t know much about expr. I’ll look into it. I will also check out ragingswirl in a moment.

As far as the archives, I rarely have any luck searching them.. I usually get a couple things that are very loosely related, and after several times not getting anything useful in the past I think I got turned off from the search and stopped using it. I am searching it now as per your request.

I also really like engaging new discussions, even though there may have been other people that went over similar topics in the past, I like to see what is going on with the user community in the here and now.

^ – ^

NCRIII


February 18, 2009 | 1:33 am

Hi,

I also vote for using jit.expr to generate 3d volumes(spheres) and then send those to jit.gl.isosurf and let her figure out how to create opengl geometry:)

one way to generate a sphere would be to start from ‘circle+noise’ example from jit.expr help file:

hypot(x,y)

and then extend it to 3d by nesting two hypots:

hypot(x, hypot(y,z))

below’s a quick’n'dirty example.

best,
nesa

– Pasted Max Patch, click to expand. –

February 18, 2009 | 7:14 am

Oh man, your a pimp!! this is exactly what I was looking for. I wonder how many balls it can handle, and if I can encapsulate them in poly~ time to play!! woot!

great job man, thanks so much, brilliant!


March 1, 2013 | 11:33 pm

hi
Thanks nesa, here a gen/physics version of your metaballs :)
mathieu


March 4, 2013 | 7:15 am

another banger!


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