Jump to content

project mapping on to instanced objects


muzaffer

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...