Jump to content
Sign in to follow this  
caskal

Optimizing white water? (2gb per frame?)

Recommended Posts

Hey guys,

I have a flip sim with particle div. at 0.03. Cached the compress and surface. So far all good. Now when I generate the white water, there are frames that go up to 3 gb (and its incremental), any tips for optimizing this?

Some stuff I tried:

- Creating a bound by object group, to delete particles that wont be used

preview-lightbox-2018-08-20_14-12-01.thumb.png.9f258f207b7b420dcfc6268be13a736a.png

This optimized the size to almost the half

preview-gallery-2018-08-20_14-15-58.png.2c4457c17df476d4b2ec5cc53a201092.pngpreview-lightbox-2018-08-20_14-15-41.png.d371d77eee7809d2fb1a4f42631db8db.png

Size comparison

preview-lightbox-2018-08-20_14-10-58.png.a77cb27e4b7f944dc4d393c17af20c61.png

 

Another thing I tried is splitting up the "bubbles + foam" and "spray" in different bgeo files

preview-full-2018-08-20_14-50-25.png.3a5a352795ebdf841428180e5cc9fa79.png

 

And finally I tried reducing the birth in white water solver as well as lifespan parameters. Is this normal? the size of white water tends to be big and increments over time?

Any tip will be helpful, I have like 300gb for 1/4 of the animation just on white water

 

Edited by caskal

Share this post


Link to post
Share on other sites

I'm deleting non-used attributes/groups as well as creating a group by camera angle to delete particles outside the POV. Running a sim to see how it handles this

  • Like 1

Share this post


Link to post
Share on other sites

Update: went from 3gb a frame to 300mb a frame, by deleting non used attributes and using camera culling.

2018-08-22_12-26-04.png.b1df38b53f9e5801e44ee2d20b3b4886.png

Also tweaked the parameters like withewater birth to 60 instead of 100, and lifespan from 2 instead of 4, not sure if this is already enough, or should I take some of them off? here's a video with mesh+whitewater (bubbles+foam) and the whitewater alone. 

 

Also, for rendering I think the studio is using arnold, what will be the best approach to render whitewater? as volumes? or cloning spheres like in redshift?

Thanks!

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×