Extensions:2.6/Py/Scripts/Import-Export/VueCameraExport

提供: wiki
< Extensions:2.6‎ | Py‎ | Scripts‎ | Import-Export
2018年6月29日 (金) 04:40時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索
Export Camera and Lights to Vue (*.py)
The script will export all cameras and lights, their positions and rotations to E-on Software Vue
UI location File > Export > Vue Camera and Lights Export
Usage To use, run the py script generated by this addon inside Vue. Before running the script in Vue, ensure in Vue that Auto-Keyframing (Timeline toggle button) is on, Always Keep Level (a camera toggle button) is off and Lock height above ground (camera toggle) is off.
Version 0.2 Author(s) Ruchir Shah
Blender 2.6.3 License GPL
Category Import-Export Distribution Extern


Executable information
File name io_vue_camera.py
Current version download http://projects.blender.org/tracker/download.php/153/467/25653/20425/io_vue_camera.py



Description

The script will export all cameras and lights, their positions and rotations. It has been updated for Blender 2.6.3 and makes use of Blender's improved camera focal lens and Field of View system.
On the Vue side I have had to calculate the Vue default camera sensor size and then used this to calculate matching focal length for Vue. It should work fine.

Scene: Exports render dimensions resolution settings
Cameras: Exports name, focal length, position and rotations for each keyframe.
Lights: Exports name, color, position and rotations for each keyframe
To use, run the py script in Vue. Before running the script in Vue, ensure the following:

  • Auto-Keyframing (Timeline toggle button) is on
  • Always Keep Level (a camera toggle button) is off.
  • Lock height above ground (also a camera toggle button) is off


This script is based on the Campbell Barton script to export cameras and markers.