Recording Point Cache modifier from Scripts

Recording Point Cache modifier from Scripts

gamundi0804
Observer Observer
40 Views
0 Replies
Message 1 of 1

Recording Point Cache modifier from Scripts

gamundi0804
Observer
Observer

 Hello. In my office we frequently perform a process that involves trees created with GrowFX and wind animations. The workflow consists of generating a GrowFX cache, converting a copy to an animated VRayProxy, applying a Point Cache modifier, recording the animation to a .pc2 file, and finally applying that file to a static proxy. This manual process works perfectly. 

However, when trying to create a script (with the help of AI) to automate the entire task in a single click, a problem arises with the "Point Cache". I have tried possible solutions and have discovered something related to V-Ray Proxies: that if I do not deselect the proxy and reselect it before applying the "Point Cache", the resulting recording is frozen at frame 0 even though the .pc2 file has the correct weight and saved frames. The most I've managed is to have the script replicate this behavior, and then a rough animation is saved. although errors increase in complex geometry and even so sometimes the recording ends with a lag of a few frames in those simpler geometries. 

I know it's a script problem because as I said before, manually processing the process with the same files, even when I hit record by hand, it works. 

Does anyone know what could be happening? 

Is it a known issue in max 2024?

0 Likes
41 Views
0 Replies
Replies (0)