Hi All!
Setting the override material (and whether it’s on or not) via the UI works perfectly. However, setting it via maxscript does change the renderer’s properties as displayed by Maxscript but doesn’t change the UI, nor does it change whether it actually renders with the override on or not. This is all being done with the RSD closed.
For example, on a brand new scene with the renderer set to VRay Next GPU
vrgpu = renderers.production
vrgpu.overrideMtl_on
vrgpu.overrideMtl_mtl
print "--------"
vrgpu.overrideMtl_on = true
vrgpu.overrideMtl_mtl = VrayMtl()
vrgpu.overrideMtl_on
vrgpu.overrideMtl_mtl
This will print:
false
undefined
"--------"
true
VrayMtl:VrayMtl
This is what you’d expect. But if you open the RSD, no options have changed, and sure enough rendering will not actually have an override set.
This was also the case on version 4.02.05.
Is it just me? It’s possible there are other properties like that, those are just the first two I’ve bumped into.
Thanks,
Dan