Good practice to use projection and transform matrices.

Hi,
I need to do camProjInverse on some data.
there are 2 python methods i can use to retrieve the matrices i want from given camera.
docs.derivative.ca/CameraCOMP_Class

projectionInverse(x, y)
worldTransform()

(I better do efficient as possible ,it will be different every frame. )

There is any good practice to convert it to chop from the python object ?
Later on i want to use the matrices in GLSL top in other network.

thank you !

Barak.

this help a bit.
docs.derivative.ca/Matrix_Class

possible code :

[code]cam = op(‘cam1’)
table = op(‘table1’)

table.clear()
table.appendCols(cam.projection(1,1).vals)[/code]

if there is faster way please share :slight_smile: