Jump to content

Intrinsic attribute in Render State VOP


trandzik

Recommended Posts

Hello,

please is it possible to read intrinsic attribute values in Render State VOP inside mat network? I would like to get intrinsic:transform[0] for each packed disk prim being rendered, but cant seem to figure out syntax... When reading classic attributes from packed disk prims, I am using packed:attributename syntax. Is there a way to do this for intrinsic attributes? Thanks.

Best wishes

Peter

Edited by trandzik
Link to comment
Share on other sites

You could do this via a Primitive Intrinsic VOP, but you have to provide either cached geometry on disk or point to specific geometry in your HIP using op: syntax. An easier way might be to just create point attributes on your packed primitives based on those intrinsics in SOPs, and then use Render State to read them.

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