VRay do not seem to take in count the "Pre" and "Post" rendering script in distributed rendering.

Hi!

We use a pre and post render script to bake the mesh before rendering. But if we use VRay 6 distributed rendering it did not seem to work. Is there a option I haven’t seen to force rendering scripts? If not please add an option .

Thank you!

Best regards

Just tested this with a very simple pre- and post- script and it seems to work as expected. Mind if you send (or attach) your own?

Ok. Strange. If I run the script manually before sending the render it work. But I don’t know how you can test it? We use a proprietary realtime plugin for rigging (Controlers). If we don’t bake before rendering the controler broke and the character look weird.

This script is simple. It juste collapse the skin operator but leave all other modifiers above it. If you don’t have our tool to have the weird deformation effect at render time you will not see the difference… Maybe if you add weid deformator under the skin but only visible at render time… you will get the similar issue. Maybe I can test that.

Until that here are the script.
PrePostScript_ToCollapseSkin.zip (1.02 KB)

We are about to migrate on Vray 6 But we still on Vray 5.2.3 under 3DSMax 2019.

Thanks for the provided file. I tested a bit by adding a line in each script:
Pre:
for i in geometry do (i.scale = i.scale + 1)
Post:
vfbcontrol #saveimage "<location"​
It seems the scripts are indeed executed and the result is visible in the rendering, however, the geometry within 3ds Max remains the same. Executing manually, obviously resolves that. It seems to happen without DR as well, can you confirm?