How to parameterOverride Lense effects?

How can I do this from the command line, similar to

-parameterOverride=“SettingsImageSampler::dmc_maxSubdivs=6”

Hey @vladislav_dunev ,

Which option exactly would you like to override?

The plugin for the camera is CameraPhysical so in general, CameraPhysical :: parameter_name=value should give you what you are looking for.

Hope that helps!

Thanks, Gosho.Genchev,

I would like to disable Glare.

Hey @vladislav_dunev ,

Apologies, I assumed you’re talking about the camera.

Modifying the VFB layers is also possible. The information is stored under the SettingsVFB :: vfb2_layers parameter in the VRScene.
You could find the “name”:“Lens Effects”,“enable”:true part of the string and modify the option you need, then pass the entire string as an override.

Best regards!

Sure, I’ve found that. Do you mean I have to include in the override the entire vfb2_layers​ JSON string or there is a way to override only “name”:“Lens Effects”,“enable”:true​?

Hey @vladislav_dunev ,

In this case you would need to override the entire string.

The developers are telling me there’s a simple to use API for modifying the VFB Settings with the V-Ray Python AppSDK - is using that in your pipeline an option for you? Basically the idea is to parse the VRScene and start a render through V-Ray AppSDK.

Best regards!

That clarifies it.
Using the Python AppSDK is a bit of an overkill in this case, but it’s good to know.

Thank you for the swift responces!