instance point's color not work in material

   319   2   2
User Avatar
Member
86 posts
Joined: Feb. 2019
Offline
Hi guys , I want color attribute on instance points can influence material color when work in solaris , but not work , Why ?I have attached a simple hip .
Image Not Found
Image Not Found
Edited by happybabywzy - May 1, 2024 08:14:05

Attachments:
1.png (599.0 KB)
Instance.hip (150.6 KB)
sdf.png (578.0 KB)
sdf32.png (710.9 KB)

User Avatar
Member
7808 posts
Joined: Sept. 2011
Online
Ah, this tripped me up before too. Don't use the second input of the instance node. This uses a points prim that's already been translated as USD. It will not inherit any attributes from USD points.

Attributes can be inherited from SOP points. To instance on SOP geometry, either put the instance points inside the instance node, or set the 'external SOP' path to point to the SOP geometry containing the instance points.
User Avatar
Member
86 posts
Joined: Feb. 2019
Offline
jsmack
Ah, this tripped me up before too. Don't use the second input of the instance node. This uses a points prim that's already been translated as USD. It will not inherit any attributes from USD points.

Attributes can be inherited from SOP points. To instance on SOP geometry, either put the instance points inside the instance node, or set the 'external SOP' path to point to the SOP geometry containing the instance points.

thank you , you are right ,it works , maybe the documentation should mark it
  • Quick Links