How to access other cameras

How to access other cameras

Anonymous
Not applicable
280 Views
0 Replies
Message 1 of 1

How to access other cameras

Anonymous
Not applicable

I would like to use a couple of cameras for texture projection in my osl shader.

In order to transform P into the coord space of those cameras I need the matrix as I cannot directly transform into custom coordinate spaces in Arnold. Any ideas how to get this done?

Unfortunately the getmatrix osl command doesn't return the matrix for the camera, air did I get it wrong?

So I am trying now to transfer the projection matrix as custom user data (float array) into the shader but if anybody has a better idea I would like to hear about it...


Thanks,


Michael


0 Likes
281 Views
0 Replies
Replies (0)