Community
from pyfbsdk import *
import time
app = FBApplication()
sys = FBSystem()
app.FileNew()
app.FileOpen(r'c:\temp.fbx')
rend = sys.Renderer
cams =
for x in range(len(cams)):
cams.Translation=FBVector3d(0,0,(x*10))
cams.Show=True
cams.ResolutionMode = FBCameraResolutionMode.kFBResolutionCustom
rend.CurrentCamera=cams
cams.ResolutionWidth = 320
cams.ResolutionHeight = 240
options = FBVideoGrabber().GetOptions()
print dir(options)
options.TimeSpan = FBTimeSpan(FBTime(0, 0, 0, x+1), FBTime(0, 0, 0, x+1))
options.TimeSteps = FBTime(0, 0, 0, 1)
options.OutputFileName=r"c:\temp.tif"
sys.Scene.Evaluate()
app.FileRender(options)
Can't find what you're looking for? Ask the community or share your knowledge.