Hi, i need som info on camera scripting. Basically i need to be able to export the cameramatrix (to a file, the console or whereever) and/or manipulate the different camera properties from a script. Right now this is what i have:
import Blender
from Blender import Camera
scene = Blender.Scene.getCurrent()
camera = scene.getCurrentCamera()
camera.setName('somestupidname')
ok so i can change the name of the camera, but what other camera properties are there? (cameramatrix, focallength e.t.c.) if i do a:
print dir(Camera)
what i get is:
['CLIPPING', 'Get', 'LENS', 'New', '__doc__', '__name__', 'get']
thanks