Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prototypes is not located in the children_Path of PointInstancer, binding a material to PointInstancer cannot override primvars:displayColor; #3407

Open
fzss2012 opened this issue Nov 7, 2024 · 1 comment

Comments

@fzss2012
Copy link

fzss2012 commented Nov 7, 2024

The first situation:

/world/prototypes/public_prim_A

/world/some/pointinstancer

/world/mat/metal_red

color3f[] /world/some/pointinstancer.primvars:displayColor=[(1,0,0),(0,0,1)]

rel /world/some/pointinstancer.prototypes =</world/prototypes/public_prim_A>

/world/some/pointinstancer.material:binding = /world/mat/metal_red

----result1----- material Invalid, unable to overwrite displayColor

The second situation:

/world/some/pointinstancer/public_prim_A

/world/some/pointinstancer

/world/mat/metal_red

color3f[] /world/some/pointinstancer.primvars:displayColor=[(1,0,0),(0,0,1)]

rel /world/some/pointinstancer.prototypes =</world/prototypes/public_prim_A>

/world/some/pointinstancer.material:binding = /world/mat/metal_red

----result2----- material active; displayColor and image texture screen mix

What is the reason for this, the reason for passing the primvars attribute?

2024-11-07 232840

2024-11-07 232849

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants