Jump to content

Gridless advection


JaydenDP

Recommended Posts

Here's a comparison I did today.  The smoke on the left was rendered with 6 frames of advection which were sample twice per frame, so 12 steps of advection total.  The smoke on the right was the raw sim, no rendertime advection.

 

post-6960-0-27748100-1397530577_thumb.pn

 

The only thing I've been noticing is that rendering while doing advection through cvex can cause a big hit in rendertime, particularly due to the fact that mantra was only using about 33% of each proc.

It also seems from some tests I've been doing is that the cvex procedural seems to be performing better on an older OSX laptop I have (4 cores 8GB ram) then a linux box I was using (12 cores, 32GB ram).  Not really sure why that was happening.

 

Has anyone else had issues of slow cvex procedural performance?

Link to comment
Share on other sites

Awesome results, everyone!

 

I would want to add some modifiers based on density and velocity magnitude to make the step size more adaptive.

 

Yeah, that sounds like a very interesting problem. Surely there are much smarter ways of doing things than just a linear sample per frame.

Link to comment
Share on other sites

The only thing I've been noticing is that rendering while doing advection through cvex can cause a big hit in rendertime, particularly due to the fact that mantra was only using about 33% of each proc.

It also seems from some tests I've been doing is that the cvex procedural seems to be performing better on an older OSX laptop I have (4 cores 8GB ram) then a linux box I was using (12 cores, 32GB ram).  Not really sure why that was happening.

 

Has anyone else had issues of slow cvex procedural performance?

 

I've noticed a large bottleneck when it comes to rendertime CVEX shaders are file calls.  PC opens and volume sample file's slow down shaders a good deal, as opposed to just modifying instrinsic data of an object.  I haven't experimented with map preloading pcopens though, that might improve speed.

Link to comment
Share on other sites

It's kind of frustrating as it makes doing any type of rendertime advection kind of unusable.  As of right now I think it's faster to upres and readvect in sops - the same goes for particle sims.

If there was some way of loading volume fields into ram it could really open up a lot of potential for the volume and pointreplicate procedural and cut down on disk storage needs.

Link to comment
Share on other sites

has anyone tried rendering this in motion? I was able to render a test on some rolling smoke. Theres a bit of popping that happens when the smoke starts to change direction or curl. It's not too bad though I'm still impressed by how much detail you can get out of this technique. Rendertime is not that bad I notice about a 2-6 second difference between the original and advected renders. A magnitude limit could possibly fix the popping issue.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

This technique is very interesting. Did some motion test today on this, got lots of details from lores volumes and the renders are fast. However I also get popping, reducing the advection steps seemed to help some but still there. Will do some more test on this

Link to comment
Share on other sites

  • 1 year later...

Advection multiple time steps at render time is pretty slow, as some have noted. I never thought that approach would be useful except in some extremely special circumstance. The real value that I think gridless advection has is in applying advection at render time for some small fraction of a single step. If you have a sim that is coarse enough to see grid artifacts, a single step of gridless advection, for even a small time step, hides the grid artifacts and makes edges in smoke more pronounced.

  • Like 5
Link to comment
Share on other sites

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...