Notifications
Clear all

[Closed] PointCache2 – "sequential write"

Hi Guys,

We’re using a pointcache manager script i wrote over here to record and load all our pointcache information.

What the record part of it does is basically go through all object’s and record pc2’s for them. i guess pretty much every studio using max for character work will have this sort of tool.

Recording complex rigged characters can get pretty slow, and i noticed with the method i use (that is just stepping through all objects and recording using the regular pc2 method) there’s a substantial slowdown with flex and spring controllers applied to the mesh/rig, probably because they have to be evaluated every time for each object that’s recorded, as the whole range of the animation is stepped through for each object.

So since there’s a maxscript example for “manually” writing pc2 files “shipped” with the modifier, i thought i’d write a script that does this sequentially, so it starts at frame 0, records that frame for all objects to their individual pc2 files, goes on to frame 1 and so on

I figure this should be a lot faster since flex, springs and the like will only have to be evaluated once for each frame. The factor i don’t know about is speed of the maxscript method vs. the compiled recording function of the pc2 modifier

So before i start on this: has anyone come across the same problem and attempted something similar?