Copy camera aperture settings from main camera to stereo

Blender 2.63a
Stereoscopic Add-on 1.6.7 

Stereoscopic camera add-on from helps generate stereo camera for 3D rendering.

It does the job well, except when working with DoF in Cycles. The add-on doesn’t copy the aperture setting from main camera the the stereo ones.

So I wrote a  script to automate this.

After setting up stereo cameras, create an empty text and paste this script.

import bpy

thisCam =["L_Camera"] =["Camera"].data.cycles.aperture_blades =["Camera"].data.cycles.aperture_size =["Camera"].data.cycles.aperture_rotation =["Camera"].data.cycles.aperture_type

thisCam =["R_Camera"] =["Camera"].data.cycles.aperture_blades =["Camera"].data.cycles.aperture_size =["Camera"].data.cycles.aperture_rotation =["Camera"].data.cycles.aperture_type

and run script.



Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s