Jump to content

Passing Attributes To Point Instance


Recommended Posts

HI......

I have asked this problem before, but didn't get any answer. I hope it gets noticed this time tough...

U can find my previous post here..

http://www.sidefx.com/index.php?option=com...57991d236e35d0a

I have some points and a geometry to instance on to the points.

Using point attributes, I can choose different geometries for instancing.

By varying the normals of points I can rotate the final instanced objects.

By changing the pscale attribute of points, I can scale the Instances randomely.

I can also change shaders for each instance.

But I want to have more control. If I add an attribute XYZ to my points, and

suppose assign them some random value, I want to refer to this value in my instanced Geometry and change my geometry.(scale, rotate, extrude amount

, switch number, etc ) how can i do that. I know that can be done using Mantra Procedural "Hscript Instance" and using otl option.

But what If I want to use Renderman. How can I get the Instance Number inside m Instance Geometry????

Waiting for ur answer.

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