isathar / Blender_UE4_VectorFieldEditor

Blender addon that adds support for working with 3D vector fields using the FGA file format.
177 stars 39 forks source link

The plugin can support capture fluid vector field? #17

Open Eragon-Brisingr opened 4 years ago

Eragon-Brisingr commented 4 years ago

I want simulate wind effect, How can capture fluid to vector field?

isathar commented 4 years ago

Not sure if your timing is good or bad on that one... there are some crazy storms going on in the area at the moment.

I haven't found a way for the addon to interact with more advanced fluid simulations, but you can change the vector field's particle system settings to the Fluid Physics Type to get the particles to act like they're suspended in a fluid.

Keep in mind that editing any of the particle system settings will reset any settings that the addon's script edited, so you'll need to set them manually. The important ones are Emit From (needs to be Verts), Frame End (to 1.0 to only emit everything once), and the Number of particles (set it to the number of verts in the vector field = density x y z).

Eragon-Brisingr commented 4 years ago

Thank you, I will have a try.

Eragon-Brisingr commented 4 years ago

image

particle seem not move by smoke domain, may i lost some settings?

isathar commented 4 years ago

I'll take a look at it later tonight. I know it was possible in Blender 2.78 but haven't needed to do anything with smoke since then.

Eragon-Brisingr commented 4 years ago

My blender version is 2.82, Thank you for helping me!

isathar commented 4 years ago

Something changed about the way smoke simulations work that seems to prevent them from affecting vector fields the way they used to. I'll keep investigating and will update as soon as I figure it out, but it may require some rewrites to the addon to get working.