VRay - VFB - render region crash - MAXScript FAIL!

Hi,
Has anyone else noticed that the VRay VFB “render region” button MUST be turned OFF for jobs to run correctly on Deadline?
Interestingly the MAXScript / Chaos Group VRay struct doesn’t seem to be working in 3dsMax2010x64:

vr=renderers.current V_Ray_Adv_1_50_SP4a:V_Ray_Adv_1_50_SP4a vr.output_renderType 0 --BUT I have region render turned ON! --Thought it might be the render scene dialog failing to commit changes but NO, still not working?

VRay manual states the following:

Probably one to report to Chaos Group…just wondering if PF had experienced this issue already?

EDIT - Looks like there is quite a bit of chat about this issue already on the Chaos Group forum…

Thanks,
Mike

Hey Mike,

I don’t think we’ve come across this problem internally (yet). I’ll see if we can reproduce, and if we can, perhaps we could add a sanity check to warn if this option is ON.

Cheers,

  • Ryan

Thanks Ryan.
To repeat the problem:

  1. 3dsmax with vray as renderer
  2. vray vfb enabled under render scnee dialog
  3. render region button enabled in the vray vfb
  4. deadline render, saving render output to exr file format (rename the *.vrimg to *.exr manually in the data field), defined in the vray vfb section, NOT in the 3dsmax render output section (leave this blank).

I think there is a bug in the chaos group vray maxscript code as it doesn’t respond with the correct result, only ever giving a “0”

Mike

Hi Ryan,
Were you able to repeat this issue as it cropped up again and its definitely the “region render” button in the VRay buffer window causing it!
Mike

UPDATE: Confirmed; the VRay maxscript code mentioned earlier does not work in sp4a. Need to test the latest sp5

I think we have SP5 here. We’ll try to reproduce today.

Cheers,

  • Ryan

cheers Ryan.
I need to download sp5, that’s number 7 on my to-do-list today :slight_smile:

Hey Mike,

I just tested this here with SP5, and it seemed to work fine. In your tests, how are the renders appearing incorrect?

Cheers,

  • Ryan

Hi Ryan,
Just tested Max2009x64 with VRay sp5 and the MAXscript error is still present in that the Chaos Group code does not respond with the correct value ever!

vr=renderers.current
vr.output_renderType

always returns a “0”, which is incorrect when something like “region render” in the VFB is selected.

No renders are ever produced by deadline as the max job crashes with an EXR region error, which unfortunately I don’t have any examples of at the moment, as the files in question were deleted off the farm and we are at full tilt at the moment, so I can’t run any tests!

However, the error message is very similar to this other post on the forum:
viewtopic.php?f=11&t=3621&p=13978&hilit=exr+region#p13978

I have placed a simple sanity check in place for the time being, although without proper MAXScript access this is not reliable.

I’m surprised that you were unable to repeat the error using the procedure I previously supplied. I will be able to test again (hopefully) on Monday.

Mike

UPDATE: It would seem that when you carry out the test to try and repeat the problem, you should also do a couple of VRay local renders using the REGION RENDER button, (draw a couple of bounding boxes), each time you carry out a local render and then TURN OFF the VRay VFB region render button and THEN submit to Deadline. It def. crashes then!

I think this entire issue is a VRay bug! and Deadline is just the messenger…

Just tried this too, and I’m still not having any luck reproducing… :confused: