Hello to everyone,
i'm trying to find all the names of the Vray Properties in vray. By now ik know:
"VRay_Matte_Enable" (bool)
"VRay_Matte_Alpha" (bool)
"VRay_Matte_Shadows" (float)
can anybody help me?
....thanks
Comments (10)
Comment policy
Thank for the script. But i
qerrrrr, thank for the script. But i want to add one more option. Set on "matte for refl/refr"
I tried to add string "try(setUserProp obj "VRay_Secondary_Matte" true)catch()",
as far as i understand "VRay_Secondary_Matte_Enable" variable responsible for this
macroScript Macro21
category:"DragAndDrop"
toolTip:""
(
fn SetAsMatte obj =
(
try(setUserProp obj "VRay_Matte_Enable" true)catch()
try(setUserProp obj "VRay_Matte_Alpha" -1.0)catch()
try(setUserProp obj "VRay_Matte_Shadows" true)catch()
try(setUserProp obj "VRay_Secondary_Matte_Enable" true)catch()
)
for n = 1 to objects.count do SetAsMatte objects[n]
)
, but this has no affect, option "matte for refl/refr" no changed.
How can i do this?
fn SetAsMatte obj =
(
try(setUserProp obj "VRay_Matte_Enable" true)catch()
try(setUserProp obj "VRay_Matte_Alpha" -1.0)catch()
try(setUserProp obj "VRay_Matte_Shadows" true)catch()
)
for n = 1 to objects.count do SetAsMatte objects[n]
I like Scriptspot.
Hi,chentxo,
I'v got the same trouble with you,and I tried "getUserPropBuffer " in maxscript listener,there was no reaction.Can you tell me how does that syntax work?Thank you~
I'm not too sure what you
I'm not too sure what you mean by DR properties.. but the list of DR servers is stored in the plugcfg/vray_dr.cfg file.. and you can edit the file at will
I want use vray distributed rending properties.
But i don't know how to get it ?
Can you help me? Thanks!
You may work like this
Step 1: Set the current renderer to VRay
Step 2: Run the following codes in MAXScript Listener
vr = renderers.current
show vr
You may also find vray properties on online reference:
http://www.cgplusplus.com/online-reference/vray-properties/
ok, sorry, it's solved, just
its not getUserPropBuffer ,
its not getUserPropBuffer <node> , its filterstring (getUserPropBuffer <node>) ""
its not getUserPropBuffer ,
its not getUserPropBuffer <node> , its filterstring (getUserPropBuffer <node>) ""