Is it possible to access another ParamBlock ID via MaxSDK .NET wrapper (C#) when as current renderer is set V-Ray GPU? Without problems I can get only PB ID0 (V-Ray GPU).
If current (or production) renderer is set V-Ray - no problems. Simple example property setter:
public bool ColorMapAffectBack
{
get => _ColorMapAffectBack;
set
{
if (_ColorMapAffectBack == value) return;
_ColorMapAffectBack = value;
NotifyPropertyChanged(() => ColorMapAffectBack);
if (_Vrender == null) return;
if (VrayType == 2) return;
if (Core == null) return;
var val = ColorMapAffectBack ? 1 : 0;
var pb9 = _Vrender.GetParamBlockByID(9);
pb9?.SetValue(178, Core.Time, val, Constants.TabIndexZero);
}
}
I try to avoid maxscript. Via maxscript it is possibile (f. e.):
renderers.current.V_Ray_settings.colorMapping_type = 0