Announcement

Collapse
No announcement yet.

How to parameterOverride Lense effects?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to parameterOverride Lense effects?

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

    -parameterOverride="SettingsImageSampler::dmc_maxSu bdivs=6"

  • #2
    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!
    Last edited by Gosho.Genchev; 24-01-2023, 08:30 AM. Reason: typos
    gosho.genchev@chaosgroup.com

    Comment


    • #3
      Thanks, Gosho.Genchev,

      I would like to disable Glare.

      Comment


      • #4
        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!
        gosho.genchev@chaosgroup.com

        Comment


        • #5
          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​?

          Comment


          • #6
            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!
            gosho.genchev@chaosgroup.com

            Comment


            • #7
              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!

              Comment

              Working...
              X