noiseOfId

Here is a scene that serves just as an example.
So what I am doing here is to fetch the BifrostFoam Particles and convert it to a Mesh.
All via the aweseome openVDB.

I wanna have the mesh fade out like foam would do, so I transferAttribute the density from the bifrost over to the meshs vertexColors.
Now as soon as I get to particle counts of like 50k it starts to get very slow, without the CPU or RAM performance-spiking at all.
Is there anything that can be optimized with that setup?

I could also render the volume without meshing it but I am having other issues that which I will post in another thread.

cheers!


on a side note:
anyone see where the start frame attribute for bifrost went in 2017 :D?

Reply 0 0
pshipkov
Use the new kdTree node - it will be much-much faster than attributeTransfer.
Reply 0 0
pshipkov

Figured i should explain the above statement.
The attribute transfer can get slow when transferring many points to many points because it does quite a bit of ramp lookups and makes sure the "spill" is smooth.

If you use the kdTree node - it uses "hard" numbers which is much less work. There is no such thing as smooth spill there. But if you set the max number of points to 10, 20, 50, etc. The interpolation will be pretty smooth and you won't see any "pops" in the transferred values.

Reply 0 0
noiseOfId

Awesome.

I wlll get me the latest soup :)

It just seems curious that the machine does seem idle when Maya gets slow at it, whereas it runs almost full CPU when it performs reasonably fast at lower point counts.

Reply 0 0
pshipkov

It is made with my secret "balsamic crashes" ingredient.
Be careful or it can burn your tongue.
;)

Reply 0 0
noiseOfId

You made me google "balsamic crashes" :D

It does not even crash, but just wondering why Maya or Computers in general seem to exert that behavior at times.
Like when I select 100k faces it does not take 2 times as long as selecting 50k faces but say 10 times as long.

All while the the Computer seems idle.

Not that I could do anything about it anyways :D


Edit: There seems to be a way via BE_VDBAttributeFromVDB:

https://www.youtube.com/watch?v=wplCWk6IqWc

Will give it a try....

Reply 0 0
Reply