Jump to content

Layer Sop


sanostol

Recommended Posts

the helpcard about this sop says me:

Each of the default attributes (i.e. "Cd", "uv", etc) gets renamed according to the current layer. For layer 1 they have their base names. For every other layer, the current layer number is appended.

but I think I have some problems understanding the correct use. I a grid gets uvs with a uv texture sop, than I add a layer ( number 2) and added a texture sop again ( with different scaling to see ) after this I want to apply a color to the points with this expression:

pic("/img/img1/gradient", $MAPU, $MAPV, D_CR)

but why doe houdini pick up the current layer for MAPU and V instead of the base layer, or what do I have to do to get access to multiple layer attributes including the baselayer in one sop. I thought that the new coodinates would be called $MAPU1

martin

layer_sop.rar

Link to comment
Share on other sites

the clue is in the help

For every other layer, the current layer number is appended

So you have to use $MAPU2 and $MAPV2 to access layer 2.

If you open a spreedsheet you should see all the attributes with the numbers for layers appended.

The only other thing is that layer one is still $MAPU and not $MAPU1

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...