Hey,
I'm sure I did it correctly in the past but I currently cannot get the parameterOverride to work for materials on a scene that I've exported from 3ds max.
The return-help from vray states that parameterOverrides should be done like this:
-parameterOverride="SettingsImageSampler::type=3"
-parameterOverride="TexFresnel::fresnel_ior=1.3"
-parameterOverride="VRayMtl1@diffuse.color=Color(1. 0,0.2,1.0)"
-parameterOverride="VRayMtl2@diffuse.color_tex=chec ker1"
So Plugin overrides like Image sampler settings and stuff work fine this way, but as soon as I want to change material colors or light I cannot get it to work.
For example, I have a Material in my scene that is declared like this in the vrscene file exported from 3ds :
https://paste.ofcode.org/3asQpfsxCN6QWd6vSexuqab
But when I use the convention stated in the help File I get this output:
http://fridayvfx.com/clipupload/4ZjmVnoOA4.png
I also saw that in the vrscene file you guys define an internal numbering for materials inside the vrscene file (in this case mtl_brdf_0 - mtl_brdf_X) so I've tried this as well but it's not working.
http://fridayvfx.com/clipupload/RCbFBeC5Hk.png
What am I doing wrong?
Thanks for caring
-Robert
I'm sure I did it correctly in the past but I currently cannot get the parameterOverride to work for materials on a scene that I've exported from 3ds max.
The return-help from vray states that parameterOverrides should be done like this:
-parameterOverride="SettingsImageSampler::type=3"
-parameterOverride="TexFresnel::fresnel_ior=1.3"
-parameterOverride="VRayMtl1@diffuse.color=Color(1. 0,0.2,1.0)"
-parameterOverride="VRayMtl2@diffuse.color_tex=chec ker1"
So Plugin overrides like Image sampler settings and stuff work fine this way, but as soon as I want to change material colors or light I cannot get it to work.
For example, I have a Material in my scene that is declared like this in the vrscene file exported from 3ds :
https://paste.ofcode.org/3asQpfsxCN6QWd6vSexuqab
But when I use the convention stated in the help File I get this output:
http://fridayvfx.com/clipupload/4ZjmVnoOA4.png
I also saw that in the vrscene file you guys define an internal numbering for materials inside the vrscene file (in this case mtl_brdf_0 - mtl_brdf_X) so I've tried this as well but it's not working.
http://fridayvfx.com/clipupload/RCbFBeC5Hk.png
What am I doing wrong?
Thanks for caring
-Robert
Comment