Jump to content
trandzik

Intrinsic attribute in Render State VOP

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×