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.

Home Forums Programming Configurator

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #10414
    scalare
    Customer

    Good idea! I’ll change the execution order and make the external file loading run based on user interaction instead of on load to see if that fixes the problem. Thank you.

    #10450
    scalare
    Customer

    OK, I just made a few tests making the loaded gltf dummy mesh material be assigned to annother through puzzles on clicking another object, but that did not work either. I’ve checked that the value is present in the variable I’m passing as parameter to the “assign material”. And I’m clicking on the trigger object when I see that the dummy gltf file is loaded and displayed in the scene, so it would not be a loading issue either.

    In fact, the example I had uploaded a few days ago also used to work on click instead of onload. Is there something I’m missing?

    Thank you!

    #10482
    scalare
    Customer

    OK, here is another question, this time for Mikhail, so said in comment #9438

    “You alos need to know if you assign a material from one object to another all this object (mesh) must have the same structure: if one of them has armature, shape keys or two or more UV-map it’s will be need to add the same thing to the second, so it will not broke out your armature, shapekeys or structure of the material.”

    What would happen if I mix shaders in one of the materials and not in the other one, or I modify the scale of an UV map using a Mapping node in one of the materials and not in the other one, or even simpler, what if I add a color modification node in the middle of the graph for one of the materials and not for the other one? Will the assign material work if the material graphs do not have the exact same structure?

    Thank you!

    #10496

    What would happen if I mix shaders in one of the materials and not in the other one, or I modify the scale of an UV map using a Mapping node in one of the materials and not in the other one, or even simpler, what if I add a color modification node in the middle of the graph for one of the materials and not for the other one? Will the assign material work if the material graphs do not have the exact same structure?

    I think it’s will be ok.

    Co-founder and lead graphics specialist at Soft8Soft.

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