Skip to content

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

@fzss2012

Description

@fzss2012

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions