Inherate Camera Frustum For Spotlight

Hello Gurus,

I would like to position a spotlight on the position of my camera, and use barndoors to narrow the field of view to the exact size of the image plane attached to the specified camera.

As a test i was able to manually put in the values of the camera and possition the barndoors to about the size of the imageplane. But hey this is maya there should be a cleaner way like link the placement node to the spotlight.

Or maybe i'm just on the wrong track here and there is a better way to do multiple light projections for baking.

Regards, thanks

Dawn3

Oke...........found the solution

It did not work before because i could not make the input nodes visible

connectAttr -f coordicam.translate spotLight1.translate;
// Result: Connected coordicam.translate to spotLight1.translate //

connectAttr -f coordicam.rotate spotLight1.rotate;
// Result:Connected coordicam.rotate to spotLight1.rotate//

This did the trick. Maybe it will help someone else

Regards,

Dawn3