Hi there,
I have many cameras and wanted to extract also the overall world and inverse projectction matrices.
while the python option works well, it also slow down everything as usual.
[code]index = str(parent().digits)
name = parent().name
camera = op(‘…/…/cameraRig/Camera’ + index + ‘/camera’)
table = op(‘table1’)
table.clear()
table.appendRow([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])
def onValueChange(channel, sampleIndex, val, prev):
worldCamProjInverse = camera.worldTransform * camera.projectionInverse(1,1)
table.replaceRow(0,worldCamProjInverse.vals)
return
[/code]
adding more camera matrices options to object \ transform chop will be great !
maybe in the same request - in object chop add matrices option so we will not need to use
transform ?
keep up the great work !
Barak.