djx
Hi Peter,
This week I finally had a chance to try out the interactiveCachingSystem setup in one of my rigs. It has meant I can get 35 to 40 fps where I was getting 12 to 16 fps before. This is really cool and so easy to set up with the UI that you provided.

I have two questions. Firstly, I notice that when I open a scene which has the rig referenced into it, the geo is cached incorrectly on whichever frame is current when the scene opened, and resetting the frameCacher does not fix it. It looks like it gets cached before the ik has evaluated. I fix it by simply moving a controller and undoing, but I just wondered if you know why this happens?

Secondly... it doesnt work in Viewport 2 - I guess I am not surprised. But... after I switch back to legacy viewport, it still doesnt work - this I find strange. I have to restart maya to get the caching to start again. Have you seen that behavior before? 

This is on windows 7 maya 2014 sp4

thanks as usual

David
pshipkov
Nice catch. I think this is something related to the more recent versions of Maya.
We pushed big char shows through the ICS and it was just fine, but that was Maya2012.
In the recent Mayas developers are shuffling things around while improving and fixing things in VP2.
I added a workaround on my side.

I cannot get the ICS not to work in VP2. In Maya2014/2015.

But Maya2014 VP2 is so "funky" i will not be surprised if things are out of sync on your SW/HW config.
It is trying to cache more aggressively things on its side and also trying to "optimize" DG evaluation - as result a lot of stuff gets screwed one way or another. And the end result is - performance is still much slower than VP1.
Also once you switch to VP2 and go back to VP1 then VP1 is suddenly ~30% slower :S
I don't know where Maya devs are going with VP2 but i am concerned ...
For now i pass on all things VP2 until it sees better days.

EDIT:
This feels like bashing, not my intention, so just for the record i have to mention that instancing and fluids as much faster in VP2.
Reply 0 0
djx
Thanks Peter. The ICS is working really nicely. I noticed that with smooth-preview turned on the speed advantage is much less.

rig with no smooth preview: 20 fps
rig with no smooth preview + ICS: 38 fps
rig with smooth preview: 16 fps
rig with smooth preview + ICS: 21 fps

Does that sound like what you would expect to see? I'm not saying its bad. Just making sure I'm doing it right.

thanks
David

Reply 0 0
pshipkov
If by smooth preview you mean mesh viewport lod, the the simple explanation is that this cannot be cached easily since it is happening as a last in the "stack", which is after the ICS.
In order to control this i have to have my stuff after the mesh shape nodes which means that i have to do the drawing of geo or come up with some hacky way.
Btw, i am working these days in my spare time on gpu caching where i draw things, but dont plan to support mesh lods on my side.
Reply 0 0
Reply