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.

trigger the Annotation Fade on custom div’s

Home Forums Programming trigger the Annotation Fade on custom div’s

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #81600
    huib
    Customer

    Hello!
    We use Webflow to build our interfaces around Verge3d.
    We design our custom annotation clickpoints and windows which works well using the Bind Puzzle features.
    What we however are missing is the fade functionality (when annotations get behind geometry) the native annotations inherit.
    I wrongly assume that adding the “v3d-annotation” classname to any div would give them this fade function.

    TLDR: Is it possible to add the fade functionality to our custom build annotation’s?

    #81603

    Hi,
    You can use raycast puzzle to cast rays from the camera to the annotated object. If there are no intersections occur, your custom annotation would be fully opaque. If there is some, the annotation would be faded.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

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