Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

How to access other cameras

How to access other cameras

Anonymous
Not applicable
293 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
294 Views
0 Replies
Replies (0)