mcjExportCamToDs.py


   
 
   
Introduction


This python script for Blender will let you export animated cameras from Blender

in a format ( daz script ) compatible with Daz Studio versions 1, 2, 3, 4 and 4.5

The export data contains the Focal Length(s) too.


Installation


You will find the Blender-python script at the bottom of this page in the Attachments section

mcjExportCamToDs.py

Place it in the Blender modules folder, typically C:\Program Files\Blender Foundation\Blender\2.64\scripts\modules




Use


Load mcjExportCamToDs.py using a Blender "Text Editor" panel

 
Select a camera in the scene, make it the current view camera

you can use the Ctrl Numpad 0 shortcut to do so

Run the script : Click on the "Run Script" button of the text editor



You will have to supply a filename, for example : camerafromblender.dsa

done

open  or drag-and-drop this file in daz studio, it will create an animated camera named voodoocam

The following camera path was exported from Studio  to Blender

then exported from Blender to studio and rendered in Hardware render mode

MCJjULIE.avi


_______________________________________________________________________________

Baking constraint-driven cameras
_______________________________________________________________________________

 If your camera is animated through the use of constraints ( camera tracking for example )

then you will need to "bake" it. Else the camera will have no keyframes and nothing will be exported

to bake a constrained camera

in the 3d-view pane, press the space bar
 
a menu pops up
 
type "bake'
 
click on "bake action"
 
another menu appears, you click on OK
 
and your camera gets keyframed

 
     

ċ
mCasual Jacques,
Feb 21, 2013, 12:06 AM
Comments