JulianD
January 25, 2022, 10:16am
1
Hello!
I try to get to the “sampler” option (bucket/progressif) using maxscript for the gpu render, but I can’t find the function under .V_Ray_settings
I thought it was
vr.imageSampler_type : integer
or
vr.imageSampler_type_new : integer
but no
can you please help me out with this?
Thanks!
Hello @JulianD
vr=renderers.current
showproperties vr
renderers.production.sampler_type = 0 -- Bucket
renderers.production.sampler_type = 1 -- Progressive
Awesome!! thank you
Do you know where I can find the manual for the option in the vrayproperties? (matte, alpha contribution, ect)?
Thx!
for o in selection do
(
setUserProp o "VRay_Matte_Enable" true
setUserProp o "VRay_Matte_Alpha" 1.0
)
thank you but I have a lot of parameters to tweek in the vrayproperties, like almost very parameters in *right click on an object" → “vray properties”.
Is there a .vrayproperties shortcut or a manual?
Select new created object
Open and Close “VRay Object Properties” dialogue (https://forums.chaos.com/forum/v-ray…-you-open-them )
and
getUserPropBuffer $
But many options are not available in Vray GPU
I tried the code provided by the thread but it doesn’t work
(
if ( findstring (getUserPropBuffer $ ) "VRay" )== undefined do
(
setUSerPropBuffer $ "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 = True
VRay_Matte_Alpha = -1
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
VRay_GI_VisibleToGI = True
VRay_GI_VisibleToReflections = True
VRay_GI_VisibleToRefractions = True
VRay_Mesh_Geometry = 2
"
)
)
I change 2 values
VRay_Matte_Enable = True
VRay_Matte_Alpha = -1
still “off” and alpha “1” in the vray properties.
Just to be sure we talked about the same thing, I attached a screenshot to that post.
Also, yes matte -1 doesn’t work with GPU but I’d like to be able to make it on/off
Thank you!
thank you but I have a lot of parameters to tweek in the vrayproperties, like almost very parameters in *right click on an object" → “vray properties”.
Is there a .vrayproperties shortcut or a manual?
https://cloud.mail.ru/public/VQpT/uw6KHLcyY