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.

WebGL configurator overlaps scenes when switching one to another

Home Forums WebGL & WebXR Troubleshooting WebGL configurator overlaps scenes when switching one to another

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #56342
    Francesco
    Customer

    Hello everyone!

    I have created a webGL configurator where there’s a main scene (a house) and elements that can be applied on the house’s surfaces (windowsills, window frames..).

    Sometimes switching from one element to another of the same category, instead of replacing the object, it overlaps on the current one in the main scene.

    I’ve exported from Blender scenes with .gltf for Verge3D export format, the material applied on these elements is the default one generated from Blender.

    https://octomax.studio/jewelry_configurator_test/

    Tnx in advance for anyone’s help!
    :bye:

    Attachments:
    You must be logged in to view attached files.
    #56475

    Hi,
    can you please elaborate a bit what is exactly wrong with it? Do you mean there is a flickering after you select another element?

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #56477
    Francesco
    Customer

    Hi!

    I mean that when the user select another object to replace the one in the current scene, instead of replacing it, get overlapped by the last selected one.

    For example if there’s the windowsill A placed in the scene, when i select the windowsill B, windowsill B overlap windowsill A.

    #56482

    Hi,

    you can either hide an old element, or unload it.

    Chief 3D Verger | LinkedIn | Twitter

    #56484
    Francesco
    Customer

    Hi Yuri!

    Every scene/.gltf is on click loaded. I’ve used the same for loop jewerly configurator project. (See the attachment)

    Every time the user click on a button the .gltf in the current scene is unloaded and replaced by the selected one.

    Attachments:
    You must be logged in to view attached files.
    #56488
    kdv77kdv
    Participant

    I think this loop doesn’t work

    #56490
    Francesco
    Customer

    The problem was that the array list was too short!

    Tnx everyone! :bye:

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