Notifications
Clear all

[Closed] Vray Frame Buffer

hi, Ive a problem with the vray VFB.
Ive made a script to control some settings from the rendering and vrayVFB.

It works ok on one PC but when I try to run the script on other Max I get this error:
– Type error: Call needs function or class, got: undefined

On both Pc´s are the same 3dsmax (2012 x64 SP2) and Vray (2.10.01) version installed.

the error is for this command:
vrayVFBGetRegionEnabled() (or any command with vrayVFB…)
http://www.spot3d.com/vray/help/200R1/render_maxscript.htm

On one pc maxscript doesnt recognize the command vrayVFB.
Why?
Thanks!

2 Replies

Are you sure both PCs have the same version of VRay? I thought access to the VFB was added quite recently.

According to the vray changelog it should only work in builds 2.20.01 and later:

Build 2.20.01 official (4 December 2011)

New features:
() VRayHairMtl specifically for fur and hair rendering;
(
) VRayOrnatrixMod modifier for direct rendering of Ornatrix hair;
() VRayHairInfoTex texture for additional hair shading effects;
(
) VRayPTex texture provides support for PTex files;
() MaxScript functions for access to the V-Ray VFB contents;
(
) V-Ray RT: added “Real zoom” option to the ActiveShade quad menu to modify the rendered region (zoom, pan) directly in the ActiveShade window;
(*) MetaSL support in VRayGLSLMtl and VRayGLSLTex;

hey, thanks for the answer!

Yes they are the same version, (V_Ray_Adv_2_10_01:V_Ray_Adv_2_10_01)
but …
…now I see I’ve forgot to install the plugin to access to the properties to the Vray Frame Buffer (vrayvfbmaxscript2012.dlx)
Now its working again!

Thanks for your help.