maxscript + vray buffer

hi
I need to detect vray frame buffer region render on/off
is there a secret cmd to do so ?
renderers.current.output_rendertype
is not the one I am looking for

thx

I don’t know of any way to access the vray FB from maxscript, myself.
Unless something has changed very recently, that is.

We have been burned badly by submitting to the farm forgetting the region was on.
We have a host of maxscript based checks, but this one is not possible yet. Perhaps more
people asking for it will help.

I doubt it’s down to Vlado’s will to fix it.
When i last asked, the issue rested squarely within the max SDK.

I have a small plugin that adds a MaxScript command to do that; will post it here a bit later today.

Best regards,
Vlado

Genius! :smile:
Since we’re at it, any chance to extend the plugin to encompass the other properties of the vfb?

Yes Please! Seconding maxscript support for VFB!

YES! got burned a few time by that already :stuck_out_tongue:

was just chatting on the Rpmanager forum about getting errors because of the render region and log onto chaosgroup and an answer is already on the way, great timing

bump--any news on this?

well i am back from holiday - nothing new yet ?

Vlado - EndUserEvent 2010 - Any news on the maxscript dll yet?!!

Yes, it is done; just compiling it for all the different 3ds Max versions now.

Best regards,
Vlado

Here it is. NOTE: works only for SP5! Check out the readme.

Best regards,
Vlado

Just curious Vlado, why did you release this as a seperate plugin, instead of including it with the regular Vray installation?

Because there was no time to include it and test it with the installation.

Best regards,
Vlado

Thank you for this quick update Vlado!

Hi guys, i am quite late to the party, but i just got burned pretty bad with the VFB region render as well. was looking for exactly the same thing, ability to control it with maxscript.

I have downloaded the plugin, installed it.

plugin seems to be installed fine (the commands vrayVFBSetRegionEnabled gives result).

however, it does not seem to work.

when i try vrayVFBGetRegionEnabled()

will always return false, and i tried with render dialogue turned off as well.

anybody else got this to work?

thanks vlado for help though!

This is just guessing:

You are getting the status of the region rendered (vfbGETregionenabled)

Try this

vrayVFBSetRegionEnabled()

I’m not sure what the commands are, but this is standard coding naming conventions.

has this plugin been superseded with the new sp1 build?
Raj