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.

Center annotation in screen

Home Forums General Questions Center annotation in screen

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #41567
    troskhy
    Customer

    Hi all… i’m trying to figure out, but i don’t find the solution to this…

    I have several buttons placed in 3d space, when you click in any of them an annotation pops up with a div element, and a video, text, image, whatever…

    I’ve been able to recreate this, with a close button also, but i want that any of the annotations appears in the center of the screen always whenever it’s clicked.

    Can someone tell me how to achieve this?

    Thanks!!

    Troskhy

    #41587
    Philip Fong
    Customer

    Maybe you can create another puzzle to tween the camera to the annotation pop-up?

    #41590
    troskhy
    Customer

    I thought about it, but i need the popup window align in the center of the screen always… :-(

    #41593
    Philip Fong
    Customer

    You can duplicate the camera to act as a visual guide facing an up-right plane object as the “presumed annotation pop-up”. Set 3D cursor to the camera, then place an “empty axis” to that camera position as the camera tween location looking at the plane target, or you can just leave the second camera there and set it as “active camera” after tweening.

    #41645

    You need to create your own buttons bind them (with Bind puzzle) to empties and create div (your custom dialog windows) that will be centered in the center of the screen in their CSS style and hide/show them on button click.

    Co-founder and lead graphics specialist at Soft8Soft.

    #41728
    jakubpelka
    Participant

    Hi,
    can you please tell me how you did create annotation, or point to annotation manual ? will be very glad!

    I need to create simple annotation showing image on click.

    EDIT: Maybe my post wasn’t clear enough… I need help with annotations including images. Not only text. Could be html address as well…

    Thanks!
    Jakub

    EDIT2: I found it :D sorry for problem!

    #41745
    Philip Fong
    Customer

    You can try my technique by zooming in to an image plane, assuming that is where your annotation is.

    https://drive.google.com/drive/folders/1rZdYaQtqpi4EhVwRG5_xehgGWr53n968?usp=sharing

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