Git Product home page Git Product logo

rlguy / blender-flip-fluids Goto Github PK

View Code? Open in Web Editor NEW
1.6K 1.6K 179.0 18.68 MB

The FLIP Fluids addon is a tool that helps you set up, run, and render high quality liquid fluid effects all within Blender, the free and open source 3D creation suite.

Home Page: https://www.blendermarket.com/products/flipfluids

License: GNU General Public License v3.0

CMake 0.08% Python 21.52% C++ 75.32% C 3.07% Batchfile 0.01%
beta blender-addon computer-graphics flip-fluids fluid fluid-engine fluid-simulation fluid-solver simulation simulator

blender-flip-fluids's People

Contributors

akarsh786 avatar amarshall avatar cg-kdaf avatar edwin2525 avatar ifma14 avatar rlguy avatar submissivepeanutbutter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blender-flip-fluids's Issues

[Test Case Results] GCharb

Here is a first test, it went okay at 100 resolution.

test_case_cascading_water_feature100.zip

I am now simulating the highest resolution tests, but it might take a while before I can post them as they take a very long time to simulate, CPU load was low on the 100 resolution test, but it gets over 90% at time with the one i am running at the moment at 400 resolution, as it goes, it should take over 12 hours to simulate!

3 more tests, all ran without problems and I was able to playback the cached data.

test_case_fluid_in_an_invisible_box100.zip
test_case_lighthouse125.zip
test_case_viscous_net65.zip

I noticed that the GPU is not used during calculation (1-2%), Houdini fluids calculation went a lot faster when they made use of OpenGL, I mean quite a bit faster, so I would suggest to look into GPU support for the add-on, just a thought!

Error when setting Export Test Case directory to an absolute path (Test Suite Addon)

This error only applies to the Test Suite addon.

  1. Set the export test case directory to an absolute path
  2. Click the Export Test Case button

This error is displayed:

absolute_export_directory_error

Workaround

Until this is fixed, don't use absolute paths when exporting a test case.


This bug has been fixed and will be included in the next Test Suite addon version (0.1.2t).

Banding artifacts against gradual sloping obstacles

  • CPU: Intel i7 7700
  • RAM: 32 GB
  • GPU: GTX 1070, 8 GB
  • OS: Windows 8.1
  • Blender Version: 2.79
  • Addon Version: 0.1.1

A banding effect can be seen in the fluid particles when a thin layer of fluid is sliding down a gradual sloping obstacle.

artifact_grouping

Example .blend file:
https://www.dropbox.com/s/a9om9oimpbiii0a/gradual_slope_banding_artifacts.blend?dl=0

Note: this issue is about simulation banding artifacts rather than mesh banding artifacts. Simulation banding artifacts cause particles to group and align to the grid. A fix for mesh banding artifacts can be found here: https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Scene-Troubleshooting#mesh-banding-artifacts-against-curved-obstacles

[Requires Documentation] Which settings must be applied pre-bake and which settings can be applied post-bake.

Without documentation, it is unclear which domain settings will take effect post-bake and which settings must be applied before baking. Documentation should be added to clarify this.

In general:

Must be applied pre-bake

  • FLIP Fluid Simulation settings
  • FLIP Fluid Surface settings
  • FLIP Fluid Whitewater settings
  • FLIP Fluid World settings
  • FLIP Fluid Advanced settings
  • FLIP Fluid Debug settings (fluid particle debugging, obstacle debugging)

Can be applied post-bake

  • FLIP Fluid Display Settings
  • FLIP Fluid Presets settings
  • FLIP Fluid Materials settings
  • FLIP Fluid Debug settings (display grid, display console output)

Test version: Display settings not working properly

Hi,

Changing the viewport display options seems to have no effect between final/preview/none

Neither do they seem to make a difference on different elements - for example fluid_surface.

Have only run 100 resolution test so far.

Come to think of it - what does is the difference between the display settings on the domain and the different elements (i.e. surface) mean?

Thanks

Rigid fluid

Hi,

Firstly should say I am really loving playing with this - it just so happens I have the week off work which has enabled me plenty of playtime! Sorry I keep sending so many reports!

This could simply be how the solver works but in simple example below (images) where
Domain dimensions are: 8 X 8 X 8
And Fluid is 8 X 8 X 2
With as you can see an initial Z displacement so the water drops as block

The water lands as a solid rigid block and has very little motion when it reaches the bottom.

However, if I reduce the size of my water block to 7 X 7 X 2 - it works as expected. See other image below.

Thanks

Rigid.... 8 X 8 X 2
bug4a

Working 7 X 7 X 2
bug4b

[Crash] Blender often crashes while rendering whitewater particles

Hi,

I seem to get a blender crash sometimes when I render.

This happens whether using the 100 or 300 resolution.

Still using the test version - wanted to complete all tests with that first. I have changed the environment as I didn't have the version with textures.

Which files would you like? I can send the version of the scene file I am using.

This happens regardless of if I use the GPU. Have run through VisualStudio for a stack trace if it helps.

To save time you don't need to wait for whole render. As soon as I stop render early the crash happens.
rendercrash

Bad Image

I believe I've installed flip correctly. Once I've loaded up any of the test scenes, I get a windows error:
image
Here's what I'm getting from the system console:
Traceback (most recent call last): File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\bake.py", line 1149, in bake fluidsim = FluidSimulation(init_data.isize, init_data.jsize, init_data.ksize, init_data.dx) File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\fluidsimulation.py", line 65, in __init__ self._init_from_dimensions(isize, jsize, ksize, dx) File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\method_decorators.py", line 68, in check_values return func(self, *args) File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\fluidsimulation.py", line 81, in _init_from_dimensions libfunc = lib.FluidSimulation_new_from_dimensions File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\pyfluid.py", line 39, in __getattr__ self._lib = self._load_library("pyfluid") File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\pyfluid.py", line 57, in _load_library raise LibraryLoadError("Unable to load library: " + name) bl_flip_fluids_test_suite.pyfluid.pyfluid.LibraryLoadError: 'Unable to load library: pyfluid' Exception ignored in: <bound method FluidSimulation.__del__ of <bl_flip_fluids_test_suite.pyfluid.fluidsimulation.FluidSimulation object at 0x0000023C30FDF080>> Traceback (most recent call last): File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\fluidsimulation.py", line 88, in __del__ libfunc = lib.FluidSimulation_destroy File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\pyfluid.py", line 39, in __getattr__ self._lib = self._load_library("pyfluid") File "C:\Users\Ryan\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\bl_flip_fluids_test_suite\pyfluid\pyfluid.py", line 57, in _load_library raise LibraryLoadError("Unable to load library: " + name) bl_flip_fluids_test_suite.pyfluid.pyfluid.LibraryLoadError: 'Unable to load library: pyfluid'

[Test Case Results] FERNANBOP

test_case_cascading_water_feature100.zip
test_case_cascading_water_feature200.zip
test_case_cascading_water_feature200_error01
test_case_fluid_in_an_invisible_box100.zip
test_case_lighthouse125.zip
test_case_viscous_net65.zip

These are the test cases I have done at the moment. The jpg image is a screenshot of the error I got while I was baking the 2nd test, but I hit the "resume" button and it finished succesfully. Maybe I will make some more with higher resolutions tonight, when I can leave the computer baking a few hours, while I sleep :)
I hope this is helpfull. Let me know what else I can do for you. I really like your software. Thank you for this chance.

Fernando Montero

Simulations to Alembic?

Hi! I read that "Simulations can be baked to Alembic caches for export to other DCC software, although Guy says that this is currently slow for large caches.", I wanted to try but I do not succeed, just get the first and only one frame and not the animation (Cache)?

/Niklas

[Test Case Results] AhmedSalih3d

test_case_viscous_net65.zip

I ran the viscous_net succesfully on my laptop. Looking forward to trying out the more advanced tool, when this gets approved hopefully. I didn't experience other issues, than if I wanted to cache my results in a dropbox folder it would make an error since a sharing violation would occur. The simple fix was to store on harddrive instead.

Interface - option to enable fluid whitewater

Hi,

This is probably very subjective - but was wondering if the option to enable the fluid whitewater should be higher up in the UI than the display settings for it.

As the option to use white water controls whether display setting is accessible (i.e. greyed out), it seems to be more intuitive (to me) to have that option first.

Just a thought.

[Feature Request] Add option to immediately trigger mesh reload when viewport display settings are changed

Problem

When changing the viewport surface/whitewater display settings in the FLIP Fluid Display Settings panel, no effect is immediately seen. The effect only takes place after triggering a frame reload which can be done by changing the frame or re-entering the frame number in the timeline.

The reason why a frame reload is not automatically triggered when changing display settings is because for large meshes, a reload could take a second or two to load into the scene. This could cause the interface to 'hang' and feel unresponsive. For some users, automatic frame reloading may be desirable.

Solution

Add an option to the FLIP Fluids Helper panel (located in the toolbox) to allow the user to set whether they would like automatic frame reloading. Unchecked by default.


Comment and let us know if this is a feature that you would like! Let us know if you have any suggestions. If enough people would like this option added, we can add this functionality to the interface.

[Feature Request] Allow user to select which GPU to use

Problem

The simulator doesn't have a 'smart' method of selecting which GPU to use, it just picks the first GPU from a list. This can cause the simulator to choose the less powerful GPU, or even an integrated graphics chip which will slow down simulation baking.

Solution

  1. Add an interface element to the Addon Preferences menu that allows the user to select which GPU they want the simulator to use.
  2. Use a smarter method to try and detect the more powerful GPU and use that as the default selection

Workaround
Note: This workaround only applies to the FLIP Fluids Beta addon, not the Test Suite addon

If the addon is selecting the wrong GPU, try disabling GPU features until this issue is fixed. Simulations may run faster using your CPU.

disable_gpu_features

[Test Case Results] niklassjogren

Hi. Did some of the tests, mostly low resolution, on my desktop computer and I think without any problems! I'll try to do some more of those with higher resolution during the evening!

Desktop computer results:
test_case_lighthouse125.zip
test_case_viscous_net65.zip
test_case_cascading_water_feature100.zip
test_case_fluid_in_an_invisible_box100.zip
test_case_fluid_in_an_invisible_box200.zip

You also got details on my laptop, when I run the tests on that machine should I just put the exported "results" here in the same thread too?

/Niklas

Nothing shown in the Flip Fluid panel.

Hi, thank you for inviting me as a beta tester.

I have installed the addon, bl_flip_fluids_test_suite-x64_v0.1.1t.zip, without any error message.
And I confirmed that the Flip fluid button in the Physics.
After clicking the button, only header come up. But there is no contents.

iamge1

image2

iamge3

The some error messages are caused by other addon, I think.

[Test Case Results] TripleDots

This is at 100. I am going to bake 200 through the night as I have some work to do.
Minus a few particles going through the object (which compared to the build in fluid means that this one beta is already flawless ha!) Everything went well.
I played back with 8fps even while baking to see if I could and it worked well.

test_case_cascading_water_feature100.zip

Different material respectively?

I understand that fluid material depends on the domain setting.
But if user want to use two type of materials to set to different fluid surface respectively which come from different source, is it or will it be possible?
See image below, for example,
A left fluid come from "fluid" source. A right fluid come from inflow source. I want to set red material to the left, blue material to the right.

figure

Icon to display preset info on UI

An icon to display a preset info is now "question" mark.
This is my opinion. I think that it is not good, because I think that it is for showing some help.
I think that it is better the icon is showing " ! " mark as blender info editor's icon.

figure

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.