Jump to content

Is there a way to highlight points/prims like the Group SOP?


magneto

Recommended Posts

The Group SOP highlights the included points or primitives as if they are selected. Is there a way to do this for digital assets where you want to highlight some points or primitives in a similar manner?

Maybe if you used a Group SOP inside the asset and made it the active message node for the asset, then used an expression to have the Group SOP group what you want highlighted. The Group SOP doesn't have to be part of the output for the asset.

  • Like 1
Link to comment
Share on other sites

Thanks hopbin, I just tried what you said but when I select the node it doesn't highlight the group elements.

I set the group node to be the message node in the Type Properties. Is this the right way?

Making it the last node in the output works though, but if I can avoid creating a group for the output that would be great :)

Edited by magneto
Link to comment
Share on other sites

..

Making it the last node in the output works though, but if I can avoid creating a group for the output that would be great :)

using a Group SOP was my initial idea too . maybe you can delet the group in the same node ( untested ) or apply it in a node below it .

another ( untested ) suggestion ; there is a Visibility SOP . does it help in tis case ? afair , it can hide selected / not-selected ' things ' ..

  • Like 1
Link to comment
Share on other sites

Thanks zarti. The points are not highlighted if the group sop is not at the end. Using nulls after the group sop was fine though.

Basically I am just trying to show the points I found, but not "select" them. The points will be used via expressions, but would be nice to see in the viewport for feedback.

I haven't tried the visibility sop, so will try that one and report back :)

Link to comment
Share on other sites

I tried visibility but it only works with primitives.

@Christian: I can't change point colors because it would be destructive, similar to if the Group SOP changed point colors to show the included points/primitives in the group.

I just thought this highlighting was supported as a feature. I will just use the Group SOP because that seems to work except create an extra group.

Link to comment
Share on other sites

I tried visibility but it only works with primitives.

@Christian: I can't change point colors because it would be destructive, similar to if the Group SOP changed point colors to show the included points/primitives in the group.

I just thought this highlighting was supported as a feature. I will just use the Group SOP because that seems to work except create an extra group.

I don't see why it would necessarily be destructive to use a point or a colour sop to change the colours. You could have a switch in there which is triggered by a checkbox on the top level of your asset to show the grouped points as coloured or not.

Does that not work for ya?

Link to comment
Share on other sites

Because it's an asset to find points similar to how the Group SOP can find points using angles for instance. If the Group SOP changed point colors to show me the points found, it would be very counter-productive, as I don't expect it to change anything, but just group things together.

It would be akin to Transform SOP changing topology to show you the transformed geometry smoothed out for display purposes.

  • Downvote 2
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...