Hello everyone,
I was doing some scripting for my render preferences and I have come across some parameters that I does not know anything about nor I can find any thing on DOCS nor the forum or any where else to be clear.
Hence I would appreciate if anyone can clear them for me what are they doing exactly.
.dmc_optimizeShadingRate
.dmc_importanceSampling
---> I have done some tests but I can not determine the use for these two dmc parameters
.dmc_pathSampler_type (mc_pathSampler_type) --> is this the switch for new sampling vs old one?
.progressive_track_radius
.progressive_dynNoiseThreshold
-----> i have test two progressive option but they have very litlle impact on my sample rate so I am confused about them.
---------------------------------
.imageSampler_outline
.imageSampler_mtlID
.imageSampler_normal
I have got my answer about these three (thanks to joconnell)
---------------------------------
The last three are likely the tick boxes for the adaptive subdivision image sampler where you can tell vray to use the outline, normals and material id’s to add in extra sampling quality.
There’s some new sampling methods in vray 3.3, I’d say the two are switches between the old 3.2 methods and the newer ones. If you try to open a scene that was made in vray 3.2 or earlier on a machine that has vray 3.3 installed you get a warning that there’s some changes that could cause the scene to render differently and would you like to use the new or old methods? The two variables turn these bits on and off.
thank you. I have tested what you said and turns out atleast dmc_optimizeShadingRate is not the switch for new sampling method
i have created the new scene completly from scratch in 3.3 and get value it turns out false. (the default)
and then I open a file in another max that hass been created with 3.2 and choose no for the sampling prompt window again the value was false.
then I have open andother 3.2 file and choose yes gor the promp this time. .. the value again was false.
…
dmc_importanceSampling is a float number so it can not be used for turning on and of a feature.
The switch between the old and new sampling is: renderers.current.twoLevel_adaptiveMethod=N
where N is 0 for the old method and 1 for the new method. New scenes use the new method by default. The switch option itself is not available in the UI.
For the other two commands .dmc_optimizeShadingRate and .dmc_importanceSampling, I think they are switches about Shading Rate optimization and Importance Sampling but since I am not 100% sure I’ll consult with someone of our Dev Team and will let you know if that’s is true.
.dmc_importanceSamplingThis one doesn’t have any effect anymore and is ignored since a long time.
.dmc_pathSampler_typeThis one doesn’t have any effect either.
.progressive_track_radiusThis one controls the radius, in pixels, of the area that is focused on when the “track mouse” option in the VFB is enabled during progressive sampling.
.progressive_dynNoiseThresholdThis one determines when V-Ray will reduce the target noise level when doing progressive rendering. There’s not much practical reason to change it. We used it during development to figure out a good default value.