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.

Annotation dialog in global illumination scene(2)

Home Forums General Questions Annotation dialog in global illumination scene(2)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #68702
    gee_lau2000
    Customer

    Hi,

    I’m struggling in the annotation puzzles at the global illumination scene befor but luckly, I understand the structure at the end. Now, I can not find a way to add a border in both of the annotation/dialog box and change their opacity down a little bit when they are located behind an object….I had tyr many methods but no one success….may I have some suggestion form you guys?….

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

    Read more about CSS. You will need it…

    a way to add a border in both of the annotation/dialog box

    border: solid #FF0000; is also allowed.

    Puzzles and JS. 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 meaning at all.

    #68712
    gee_lau2000
    Customer

    Hi Kdv,

    Thanks for your reply!!
    Yes, I have a deep study at https://www.w3schools.com/css/css_tooltip.asp, the problem solved already :-) . But I still have no idea about how to control the annotation’s opacity while it behind other objects…….

    #68713
    kdv
    Participant

    while it behind other objects

    That’s not only a CSS work. First you need to use raycasting to detect obstacles between the scene’s camera and the object to which your annotation is bound.

    Puzzles and JS. 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 meaning at all.

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