Notifications
Clear all

[Closed] vray object properties

hello I am create oen object in max script and

close to vray object properties to “Visible_In_Reflections”

but ı cant any code no area in internet .


ı find this but ı can not use other properties

this is works
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()

this is not work ı cant not understand normaly max listener show me ok bur look again but not see right click
try(setUserProp obj “Visible_In_Reflections” true)catch()

2 Replies

You can see it on object properties -> user defined:

VRay_MoBlur_GeomSamples = 2
VRay_GI_Generate = True
VRay_GI_Receive = True
VRay_GI_Multipier = 1.000000
VRay_GI_GenerateMultipier = 1.000000
VRay_GI_SubdivsMultiplier = 1.000000
VRay_Caustics_Generate = True
VRay_Caustics_Receive = True
VRay_Caustics_Multipier = 1.000000
VRay_MoBlur_DefaultGeomSamples = True
VRay_Matte_Enable = False
VRay_Matte_Alpha = 1.000000
VRay_Matte_Shadows = False
VRay_Matte_ShadowAlpha = False
VRay_Matte_ShadowColor = [0,0,0]
VRay_Matte_ShadowBrightness = 1.000000
VRay_Matte_ReflectionAmount = 1.000000
VRay_Matte_RefractionAmount = 1.000000
VRay_Matte_GIAmount = 1.000000
VRay_Matte_GI_OtherMattes = True
VRay_GI_SurfaceID = 0
[B]VRay_GI_VisibleToGI = True
VRay_GI_VisibleToReflections = True
VRay_GI_VisibleToRefractions = True[/B]
VRay_Mesh_Geometry = 2
VRay_Secondary_Matte_Enable = false

thank you