Jump to content

Editing vertex attributes


Guest YoBeardMaestro

Recommended Posts

Guest YoBeardMaestro

How would I go about manipulating the uv attribute of each vertex im my geometry? I'd like to add a random offset to each vertex uv per primitive (not per vertex). The Vertex SOP doesn't let me access the uv attribute and the Primitive SOP only permits integer offsets of uv.

The only workaround I've found so far is to promote my vertex uv's to point attributes, promote the primitive offset attribute to points, and combine both in a VOP SOP. Doesn't seem very elegant, and wont work if my points are shared between primitives.

Any ideas?

YBM.

Link to comment
Share on other sites

Guest YoBeardMaestro

You're absolutely right. I guess one shouldn't work into the early hours of the morning and expect to think coherently...

Thanks,

YBM.

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