Author Topic: Moving VDB volume in interactive very slow + bounding box visible  (Read 3226 times)

2021-02-09, 13:16:36

v.p.vlasenko

  • Active Users
  • **
  • Posts: 71
    • View Profile
Nothing to explain here - moving vdb or changing settings very slow, looks like reload each time

And the problem with the visible bounding box still here - with global volume or inside/intersecting with another object with volume mtl.

2021-02-10, 11:01:00
Reply #1

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

Some more explanation would be useful ;)

Are you able to send the VDB in question to us? If possible in a simplified scene which shows the issue with slowness.

The second issue we are aware of and have it logged in our system.

Rowan

(Internal ID=594075946)
(Report ID=CRMAX-264)
« Last Edit: 2021-02-10, 11:04:52 by rowmanns »
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-10, 12:02:32
Reply #2

v.p.vlasenko

  • Active Users
  • **
  • Posts: 71
    • View Profile
I thought it was pretty simple, but ok

I have cloud VDB loaded in corona volumegrid, it takes some time to start IR. After that I can move/rotate the camera and everything runs smoothly. But if I try to change the position/rotation/scale of corona volumegrid during IR it takes a lot of time. Same if I try to change some settings like scattering or absorption.

Just checked - 7 seconds for a particular VDB file. So if I try to move it or change the scattering scale I have to wait 7 seconds each time. And max is locked during those 7 seconds.

I can send VDB but I see no reason for that - it behaves the same with any VDB. The bigger grid (amount of cells) - the bigger lag.

Checked with Pixar cloud (I think you have it) - wdas_cloud_sixteenth.vdb runs smoothly, wdas_cloud_eighth.vdb a bit slower, lag is quite visible on wdas_cloud_quarter.vdb, wdas_cloud_half.vdb - 5 seconds to refresh IR, wdas_cloud.vdb - 13 seconds.
« Last Edit: 2021-02-10, 12:11:25 by v.p.vlasenko »

2021-02-16, 09:13:30
Reply #3

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
And the problem with the visible bounding box still here - with global volume or inside/intersecting with another object with volume mtl.

Hey,

I have some good news, we've managed to fix this in v7 and it will be in the next daily build.

The other issue you reported we are still investigating and I will get back to you when there is some more information.

Cheers,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-19, 16:45:26
Reply #4

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile

2021-02-24, 17:00:30
Reply #5

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

I just checked out those Pixar cloud VDBs.

I guess it is to be expected that the larger VDBs take longer to reparse, "wdas_cloud_sixteenth.vdb" is a 1.5mb file, so it would be expected that Corona can reparse this quickly. However wdas_cloud.vdb is a 2.8gb file, so I think it is also expected that Corona takes longer to reparse this file when it is being moved in the IR.

There is always room for optimization, but I think this behaviour can be expected.

Cheers,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-25, 15:51:48
Reply #6

v.p.vlasenko

  • Active Users
  • **
  • Posts: 71
    • View Profile
Hi Rowan,

I don't know how corona working but should it be reparsed each time I move it or change scattering settings? Why this not happens with geometry in the scene. For me it looks like something I wrote about in the first post - looks like vdb loaded from disk each time I move it during IR.

Anyway, I checked it with arnold active shade and everything works fine.  wdas_cloud.vdb - instant response to moving volume instead of waiting 13 seconds with locked max.

So probably that's not something to be expected.
« Last Edit: 2021-02-25, 15:58:40 by v.p.vlasenko »

2021-02-26, 09:44:35
Reply #7

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

I've done some further investigation and spoken with our devs, even with geometry it looks like we re-parse it with every change.

I checked the same VDB with V-Ray and the behaviour is the same.

I will update the report we have and see if there is some way this can be optimised.

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-26, 11:27:41
Reply #8

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile
I noticed the re-parsing earlier when working with bigger VDB files. Would be great If this could be optimized somehow.