How select Subset in solaris ?

   1796   8   1
User Avatar
Member
143 posts
Joined: June 2024
Offline
Guys, who understands Solaris, are there any?
A couple of important questions.
How can I select subsets in Solaris to understand where they are?
Is it possible to edit subsets to add/remove polygons?
What is the idea of ​​the developers, if I am not happy with the location of the material and want to add several polygons to the location of the material? export to sop - redo the groups, export to lop and set everything up again? This even in words looks dead.
User Avatar
Member
354 posts
Joined: Nov. 2013
Offline
RGaal
How can I select subsets in Solaris to understand where they are?
Solaris doesn't have face selection or even face highlighting afaik, so it's a little tricky. But if you drop down a sopmodify it's pretty easy in sops. The material subsets will be stored in attribute "usdmaterialpath", so you can use the group and attribute list to highlight the different subsets.



RGaal
Is it possible to edit subsets to add/remove polygons?

Yes it's possible because the subset is just a list of face indices. There might be an easier way but here's a two step approach in the attached hip. First select the faces you want in the sopmodify. Make sure the selection goes into a group called "__update__". Second, the python lop assigns whatever faces are in the __update__ group to the subset in the "Target Subset" parameter. The code also takes care of removing the face indices from any other subsets.

Edited by antc - Aug. 26, 2024 01:21:59

Attachments:
usdmaterialpath.png (187.0 KB)
subsetchange.png (913.5 KB)
modifysubset.hipnc (157.7 KB)

User Avatar
Member
216 posts
Joined: Feb. 2017
Offline
Hope we can see/select the geosubset in the lop view.
User Avatar
Member
143 posts
Joined: June 2024
Offline
antc


Thanks for the answer! I'll take note.

P.S. Now I'm absolutely sure of Blender's bright future.
User Avatar
Member
216 posts
Joined: Feb. 2017
Offline
RGaal
antc


Thanks for the answer! I'll take note.

P.S. Now I'm absolutely sure of Blender's bright future.

haha,why would you say this?
User Avatar
Member
143 posts
Joined: June 2024
Offline
wanglifu
haha,why would you say this?

Out of frustration.
Recently I made a large scene in blender with hundreds of materials and hundreds of objects. And there are a lot of objects, the hierarchy got out of control, and I sat and dreamed - that's it, it's time to study Solaris, there the hierarchy is stricter. And indeed, so far it seems to me that the hierarchy in Solaris could have been more convenient then. But I had to change a lot of materials a little both inside and in the arrangement, add something, subtract something. And now I'm trying to understand how I would solve those problems with reassigning materials in Solaris and I understand that it is unrealistic (for my knowledge). I would just go out the window (joke), if I had to edit the arrangement of materials through SOP and Python. I don't pretend to know the truth, I'm searching and maybe I don't understand or don't know all the processes in Solaris... But for now the logic eludes me - in the lop you see the materials, but you can't easily change their arrangement. And in the sop you can easily choose a new arrangement, but you don't see the materials. Will these two ships ever meet at one point?
User Avatar
Member
354 posts
Joined: Nov. 2013
Offline
RGaal
And there are a lot of objects, the hierarchy got out of control,
Honestly I would avoid tying to adjust things like subset membership late in the game when you have tons of stuff in your scene. It's ok for some weird one-off situation or whatever, but not a regular workflow. Are you able to go back to the source model where they were created and edit them there? I wouldn't even bother with subsets for material bindings myself as it just adds complexity with little payoff.
Edited by antc - Aug. 26, 2024 08:54:43
User Avatar
Member
143 posts
Joined: June 2024
Offline
antc
go back to the source model where they were created and edit them there

It sounds weird, very weird. As if an artist ran into one room, looked at the posers, ran into another room to draw, ran back into the first room, looked and checked, didn't like it - ran into the second room where the canvas was and changed the drawing. It looks very stupid in real life, right? In real life - you look and change. In one place. Actually, in many programs it's exactly like that too.
User Avatar
Member
354 posts
Joined: Nov. 2013
Offline
RGaal
antc
go back to the source model where they were created and edit them there

It sounds weird, very weird. As if an artist ran into one room, looked at the posers, ran into another room to draw, ran back into the first room, looked and checked, didn't like it - ran into the second room where the canvas was and changed the drawing. It looks very stupid in real life, right? In real life - you look and change. In one place. Actually, in many programs it's exactly like that too.

Just a trade off between flexibility and staying organized is how I see it. As for your poster analogy - it sounds exactly like what happens when physical proofs are getting printed and color adjustments made!
  • Quick Links