Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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?
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      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.
      Attached Files

      Comment


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

        Comment


        • #5
          Thanks for the provided file. I tested a bit by adding a line in each script:
          Pre:
          Code:
           for i in geometry do (i.scale = i.scale + 1)
          Post:
          Code:
          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?
          Last edited by hermit.crab; 20-05-2024, 12:29 AM.
          Aleksandar Hadzhiev | chaos.com
          Chaos Support Representative | contact us

          Comment

          Working...
          X