Announcement

Collapse
No announcement yet.

Request: Global exposure override for Physical cameras

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

  • Request: Global exposure override for Physical cameras

    Somtimes I have a lot of cameras in my scene which all have the same exposure settings. When changing the light in the scene, it's a bit tedious going around adjusting all of the cameras. Also, when rendering stuff like a vraytoon pass, it would be very convenient to be able to flip the "use exposure" switch on or off globally.

    Maybe there's a script for this, but it would be nice (and simple?) to implement in the render settings somewhere. Thanks.
    www.whiteview.se

  • #2
    Agreed. I also go through these issues.
    Ruben Gil
    www.spvisionz.com
    www.linkedin.com/in/s2vgroup

    Comment


    • #3
      Well, you can always turn off the camera exposure and use the color mapping settings instead.

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        Here's a quick script to turn off the camera exposure for all cameras in the scene and then, if you want, restore them back to the way they were).

        Code:
        global dp_camsExp = #()
        global dp_camsVig = #()    
        
        rollout CamExp "Camera Exposure" width:214 height:63
        (
            checkButton ckb_camExp "Press to turn exposure off" pos:[17,16] width:181 height:33
            on CamExp close do
                (
                if ckb_camExp.checked == true then if querybox "Do you want to restore the exposure settings?" then 
                    (
                        for i in dp_camsExp do 
                            (i.exposure=on)
                            
                        for i in dp_camsVig do 
                            (i.vignetting=on)
                            
                        dp_camsExp = #()
                        dp_camsVig = #()
                        )
                    )
                
            on ckb_camExp changed state do
                if ckb_camExp.checked==true then 
                (
                for i in cameras do 
                (
                if (hasProperty i "exposure")==true then 
                    (
                    if i.exposure==on then append dp_camsExp i
                    if i.vignetting==on then append dp_camsVig i
                    )
                )
                
                for i in dp_camsExp do 
                (i.exposure=off)
                
                for i in dp_camsVig do 
                (i.vignetting=off)
                
                ckb_camExp.caption = "Press to restore exposure"    
                )    
                else 
                (
                for i in dp_camsExp do 
                    (i.exposure=on)
                    
                for i in dp_camsVig do 
                    (i.vignetting=on)
                    
                dp_camsExp = #()
                dp_camsVig = #()
                ckb_camExp.caption = "Press to turn exposure off"
                )
                            
        )
        
        createDialog CamExp
        Last edited by dlparisi; 27-01-2010, 12:13 PM.
        www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

        Comment

        Working...
        X