We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

material bug with object copies

Home Forums Bug Reports and Feature Requests material bug with object copies

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #61960
    kvdml
    Customer

    I just encountered an annoying bug when assigning materials to objects:
    I import the same object (feet.glb) 4 times and alias them as feetFrontLeft, feetFrontRight, feetBackLeft, feetBackRight. Each alias has its own position/scale.
    When assigning (on load or on click) a material to each alias (object by object, or get object from a list with objects), only one alias is actually showing the material.
    The workaround I found, was making 3 copies of feet.glb (feetFL.glb, feetFR.glb, feetBL.glb) and importing those as feetFrontLeft, feetFrontRight…….

    Chrome on MacoS Ventura 13.1
    Mac Studio M1Max

    • This topic was modified 1 year, 7 months ago by kvdml.
    Attachments:
    You must be logged in to view attached files.
    #61963
    kvdml
    Customer

    Had to fix it another way. The geometry in the copied files still had the original name. (feetFL.glb still contained the geometry called ‘feet’). I set up the copies in blender with unique names, and exported these.

    Attachments:
    You must be logged in to view attached files.
    #61969
    kdv
    Participant

    feetFrontLeft, feetFrontRight, feetBackLeft, feetBackRight

    all of them are not meshes. they are scenes (or groups of objects). you cannot assign materials to scenes. it’s possible only with meshes. moreover, meshes from those scenes must have unique names to be interactive. otherwise you can assign materials only to meshes from the first scene.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #62005
    kvdml
    Customer

    thanks, that explains a lot

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.