Jump to content

group by UV's


Recommended Posts

Hi, sorry if this is silly question. but how can I create a point group based on UV's? I can see I have Uv's in the details view, and I'd like to group the points whose UV value U == 1 or V ==1. it seems simple enough, but i'm unable to figure it out. Thanks! Or is there a better way to group outside points?

Link to comment
Share on other sites

ahh this works for me now, I was missing the attribute create sop, which was creating a uv attribute? I thought I already had a UV attribute from the UV texture sop. I can see in details, it changes from uv[0] etc, to uv[x]. please forgive my ignorance, but could you explain this a bit please?

Link to comment
Share on other sites

to use local variables ($***) you have to create them. Bunch of nodes creates attribs but not the local vars. So you need to add attrib create sop to create them.

uv[x] is a component of a vector attrib while uv[1] - component of the 3-float attrib.

while it seems the same vector attribs will be transformed with your geometry (transform sop etc) but 3-floats won't.

Link to comment
Share on other sites

ok, that makes sense. I was under the impression it created the variable automatically. not that it matters, but to help me understand, is there any reason some nodes do, and some don't create the variable? I guess that's what I'm seeing in the 'detail' pane of the details view, right?

Your expression was much more clever than mine. I used $UVX == 1 || $UVX == -1 || $UVY == 1 || $UVY == -1 lmao

thanks for the help guys.

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