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.

Highlight object behind other object.

Home Forums General Questions Highlight object behind other object.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #21441
    zeitgeist
    Participant

    Hey,

    I´m looking for a way to highlight an object behind an another object when hovering over it.
    I´ve attacked a picture to show the effect I´m after.
    I want to highlight different flats inside a building on hover.
    The only way I´ve found so far is the outline feature, but would prefer to have an full overlay.

    Any help is much appreciated.
    Thanks and br

    #21450

    hello!

    at the moment this is can be done only with coding, by disabling depth test:

    v3d.SceneUtils.getMaterialByName(v3d.apps[0], 'myMaterial').depthTest = false;

    we’ll make it possible with blender or max UI

    Chief 3D Verger | LinkedIn | Twitter

    #21467
    zeitgeist
    Participant

    Thanks for the reply! I´m glad it is possible with coding.

    Still not sure where I have to run this code :/
    Could you please point me in the right direction.

    Thanks and br

    #21469

    you can use either of methods described here
    https://www.soft8soft.com/docs/manual/en/introduction/Using-JavaScript.html

    Chief 3D Verger | LinkedIn | Twitter

    #21483
    zeitgeist
    Participant

    thanks, so far so good.
    Unfortunately this doesn´t work if the sphere is inside the box, because the hover will not be recognized.
    Is there a way to trigger the hover effect even if it is inside?

    #21487

    you can try to make an invisible mesh above your objects to make it responsible for hovering (if I understood correctly)

    Chief 3D Verger | LinkedIn | Twitter

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