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.

Annimation frame event

Home Forums Puzzles Annimation frame event

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #53852
    vergecurious
    Customer

    I would have thought this was a basic. But is there a puzzle to trigger an event from an animation frame number? Using a timer doesn’t seem to make a lot of sense since everyones system runs at a different speed.

    Thanks in advance.

    #53860

    Hi,

    you can use the puzzle get animation frame for that.

    Chief 3D Verger | LinkedIn | Twitter

    #53870
    vergecurious
    Customer

    Thanks for your prompt response. I was able to trigger the annotation at the proper frame. However, only the Point of Interest (nummber) was displayed. When clicking on it, no further text was available. Am I missing something?

    Thanks in advance.

    #53929
    kdv
    Participant

    show your puzzles

    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.

    #53931
    vergecurious
    Customer

    Per your request. See attached.

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

    your logic creates the same annotation every frame(!) and you just have no time to interact with it. you should add the annotation only once )))

    p.s. and add </br> in the end of every line to show the multi-line text )))

    p.p.s. and you’d better use this construction instead of every frame

    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.

    #53937
    vergecurious
    Customer

    Wow, thanks so much. I never would have gotten that. I even learned what variables are for. I did not have to add a <br>. Maybe because I called out a width and text justification in the css. Again, thanks so much.

    #53943

    there will be a new puzzle in Verge3D 4.1 to simplify this. The first preview can be expected very soon.

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

    Chief 3D Verger | LinkedIn | Twitter

    #54025
    vergecurious
    Customer

    On a related issue. That I can not find anything on. Is there a way to center the annotation (a phrase) on the target object? It seems to be left justified. You can move it to the right but not the left. Thanks in advance:-)

    #54031
    kdv
    Participant

    Use CSS to get what you want. An annotation is just an HTML element…


    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.

    #54036
    vergecurious
    Customer

    Thanks for your quick reply. But I am referring to the container that has “1” in it. Let’s say you use “info” instead of “1”. Can that be centered on the target? I can move it to the top, right, bottom but not to the left.

    Thanks in advance.

    #54037
    kdv
    Participant

    I can move it to the top, right, bottom but not to the left.

    You can move an annotation name in any direction…


    And note that an annotation name is stuck to a mesh origin, not to its geometry center…

    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.

    #54040
    vergecurious
    Customer

    Thanks, got it now. I was looking at the “left” as a command and not a position. Pretty stupid. On to the next task. lol

    #54049
    vergecurious
    Customer

    Last question. lol
    See the attached puzzle. I can click to start an animation twice with it. I would like this to be an unlimited function. Is there some logic that would do this? I don’t want the animation to just loop.

    Thanks in advance.

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

    Once played your animation stops and there is nothing to resume… Your logic works only during the first animation loop…

    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 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.