XPBD Simulation question

Hi, Sorry if this is the wrong place to post - i’m not sure where is.

I started making an XPBD simulation in julia and a plugin to control it from blender

I got to the point where I needed to figure out how to cache and control it in blender. i was looking into this when i discovered that you are already making an XPBD sim in simulation nodes, so i guess i’m wasting my time.

I have two questions - is this going to be on the GPU anytime soon? If not, perhaps there is still scope for an external addon.

Secondly, is there anything i can do to help? Have a masters in maths/physics but not experienced programmer

2 Likes

Hi! I’m one of the developers working on the new XPBD solver in geometry nodes.

i guess i’m wasting my time

I’d say learning about physics is never a waste of time :wink:
XPBD simulation in geometry nodes isn’t the one simulation to rule them all either, merely a system that integrates well with other workflows in Blender.

is this going to be on the GPU anytime soon?

Our geonodes system only supports CPU at this point and will not have GPU support for the foreseeable future.

The geometry nodes system we came up with is supposed to be a framework for simulations, rather than a specific solver. You can read more about that in our developer documentation:

is there anything i can do to help?

We put together a list of potential future improvements, in no particular order by priority or work required. This is very preliminary and not part of our roadmap, just some things we didn’t have time to properly work on so far. There are also a number of longer-term goals not mentioned here (stable hair rest shape solver, vertex block descent, etc.).

In the immediate future we’re going to focus a bit on better volume grid support for fluid simulations and beyond. So if anything XPBD-related interests you feel free to give it a try.

6 Likes

thank you for the response. I’ll keep on at my simulation then

if you don’t mind me asking, what way should i be storing my simulation data? alembic? i hear bphys will be phased out but is there another format sim nodes use to store the data?

I wonder if this would mean maybe some touch up on some of the existing grid nodes? Some of them like Advect Grid maybe feel a bit funky.

are simulation nodes using multiple cpu cores? from the demos i’ve seen it looks really fast

The docs here seem to imply it yes: XPBD Solver - Blender Developer Documentation

1 Like