Assigning materials to different geometries loaded as one sop

   3698   4   1
User Avatar
Member
24 posts
Joined: July 2022
Offline
HI! I'm running into a couple of issues when assigning materials and importing from a SOP context.

Firstly, I understand that I did not correctly create NULL for each geometry to send to Solaris. If I merge the geometry via MERGE and output to NULL, then I get one merged geometry, to which I assign the material through the shader principal. So I don’t understand how to fix the problem so that I can load the geometry via SOP Import and be able to assign the material to EVERY element individually.


Secondly, there is a problem that the OUT_pillows pads interact as needed with each other, through the force of popaxisforce, but as soon as I load another geometry, it starts to pass through each other, how to solve this problem?
Edited by asrgnii - March 5, 2023 14:18:56

Attachments:
Скриншот 05-03-2023 21.09.25.png (1.5 MB)
Скриншот 05-03-2023 21.13.17.png (1.7 MB)
Скриншот 05-03-2023 21.14.21.png (1.6 MB)
Скриншот 05-03-2023 22.14.34.png (1.3 MB)

User Avatar
Member
8252 posts
Joined: Sept. 2011
Online
Use the name or path attribute to partition the geometry for import. Multiple imports is unnecessary.
User Avatar
Member
24 posts
Joined: July 2022
Offline
jsmack
Use the name or path attribute to partition the geometry for import. Multiple imports is unnecessary.


That is, do I understand you correctly, you are saying that after each geometry, before putting it into Vellum Solver, add a name node and give each mesh a name ??? So that in Solaris, when importing the entire scene, I could refer to each mesh and import through the group?

Attachments:
Скриншот 06-03-2023 00.24.51.png (1.2 MB)
Скриншот 06-03-2023 00.27.04.png (1.1 MB)

User Avatar
Member
8252 posts
Joined: Sept. 2011
Online
asrgnii
That is, do I understand you correctly, you are saying that after each geometry, before putting it into Vellum Solver, add a name node and give each mesh a name ???

Before importing to Solaris, add a name attribute to each part to be treated separately.

asrgnii
So that in Solaris, when importing the entire scene, I could refer to each mesh and import through the group?

The name tells the sop import to put each uniquely named part under a different primitive. This allows assigning a different material for each primitive using the primitives field on the material assign node.

An alternative to using name attributes is to assign the materials in SOPs and use the SOP import to bind and create the materials using geometry subsets.

Attachments:
geometry_partition.hip (709.7 KB)

User Avatar
Member
24 posts
Joined: July 2022
Offline
asrgnii
An alternative to using name attributes is to assign the materials in SOPs and use the SOP import to bind and create the materials using geometry subsets.





Thank you very much, now I understand everything. Special thanks for the HIP file. I wish you success in all your endeavors.
  • Quick Links