Metaballs?

Feb 17, 2009 at 12:56pm

Metaballs?

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…

#42349
Feb 17, 2009 at 6:52pm

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.

#151553
Feb 17, 2009 at 11:04pm

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

#151554
Feb 18, 2009 at 1:33am

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. –
#151555
Feb 18, 2009 at 7:14am

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!

#151556
Mar 1, 2013 at 11:33pm

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

#151557
Mar 4, 2013 at 7:15am

another banger!

#151558

You must be logged in to reply to this topic.