hopbin9 Posted February 10, 2011 Share Posted February 10, 2011 Hi, I've some animated objects that are taking a long time to update in the viewport. Is there a way to cache out the animation of a lot of Copy SOPs so that it loads up quickly. I think it's the cooking time that is slowing everything down. Thanks, Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted February 10, 2011 Share Posted February 10, 2011 Hi, I've some animated objects that are taking a long time to update in the viewport. Is there a way to cache out the animation of a lot of Copy SOPs so that it loads up quickly. I think it's the cooking time that is slowing everything down. Thanks, Drop down a ROP Geometry driver node in the SOP and connect what you want to cache. This saves out geometry to whatever format you want and however often you want. Then use a File node to read the cache back. Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted February 10, 2011 Author Share Posted February 10, 2011 thank you, that works great. Quote Link to comment Share on other sites More sharing options...
anim Posted February 10, 2011 Share Posted February 10, 2011 if your geometry doesn't change topology over time you can cache to MDD (with MDD Point Cache ROP) it will store only position values so the resulting cache will be much smaller and load time (MDD SOP) will be also lower Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted February 11, 2011 Share Posted February 11, 2011 There is also Cache SOP Quote Link to comment Share on other sites More sharing options...
Netvudu Posted February 11, 2011 Share Posted February 11, 2011 (edited) actually you could use the File SOP both to first write and then to read the cache (i.e. in Automatic mode). I just tend not to do it that way because sometimes I accidentally overwrite caches, which is why I also favour the ROP Output drive/ File combination. Edited February 11, 2011 by Netvudu Quote Link to comment Share on other sites More sharing options...
JeffBenjamin Posted February 13, 2011 Share Posted February 13, 2011 actually you could use the File SOP both to first write and then to read the cache (i.e. in Automatic mode). I just tend not to do it that way because sometimes I accidentally overwrite caches, which is why I also favour the ROP Output drive/ File combination. I always favor writing out cache to disk, as it keeps ram free for the application. if you do decide to use a cache sop, make sure to periodically check your available ram and when it gets low clear the cache out. Another helpful tip, color your cache nodes something bright, or put sticky notes down next to them. One of the msot frustrating things in the world is forgetting to re-cache something when you have made changes upstream, and then losing an hour of work when you finally realize what happened. Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted February 13, 2011 Author Share Posted February 13, 2011 Thanks, that's a good tip. Caching didn't give me as much help in performance as I had hoped. So I spent almost two days reworking the entire project to use more instances as the node level. What an amazing difference that made. Memory used by Mantra before: 4BG after: 1.5BG Before I was not able to playback the scene in the viewport, and now I get about 18FPS. That might not sound like much, but I can not move the timeline to any frame without feeling like I'm lagged. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.