muzaffer Posted June 16, 2014 Share Posted June 16, 2014 Hi All, I have a issue doing mapping image from project cam to instanced objects, using instance sop not "copy sop" probably there is a easy solution I am skipping. if my question is not clear enough i can throw a hip file here. Any pointers would be greatly appreciated. cheers Quote Link to comment Share on other sites More sharing options...
xray Posted June 30, 2014 Share Posted June 30, 2014 In the shader of object to be instanced you need to transform P into camera space. In VOPs: The "lightndc" option of the transform VOP seems to do this. The docs say it's intended for a light shader but in the surface context, it seems to read the global render camera. I suppose you could use lights in the scene to effectively project from alternate angles as well. Wire P into transform VOP set from current to lightndc. Split the vector and use U and V as the S and T input to your texture operation. Quote Link to comment Share on other sites More sharing options...
muzaffer Posted June 30, 2014 Author Share Posted June 30, 2014 Thanks xray, I will try what you explained here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.