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.

Synchronise animated gif with blender rotation

Home Forums Puzzles Synchronise animated gif with blender rotation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9025
    tcdoe
    Customer

    Hi Folks,
    I’d like to make something a little unusual, asking for advice if anyone has tried something like this. I want to make a model animation (such as simple Z-axis rotation) synchronize with an animated gif (I guess as a texture on a plane).

    Here’s a quick drawing just to explain:

    model sync to anim gif with controller

    If anyone has any suggestions whether this can work (or why not?) or the best way to approach this, I’d MUCH appreciate it. I’m not sure how to best implement the slider control, or whether the frame-to-frame anim-gif display would work (I think it will).

    Thanks in advance.

    CEO, ABĒMIS LLC
    visit: abemis.com

    #9034

    Hi,

    At first glance it all looks possible with Puzzles.

    The slider can be implemented with a 3D object dragged by the user.
    https://www.soft8soft.com/docs/manual/en/introduction/Puzzles.html#when_dragged

    The model can be rotated according to the drag amount
    https://www.soft8soft.com/docs/manual/en/introduction/Puzzles.html#drag_rotate

    Then you can get that object rotation amount with
    https://www.soft8soft.com/docs/manual/en/introduction/Puzzles.html#get_transform

    and map it to the animated texture, which I think should not be GIF but rather composed in an atlas with frames like it is in the welding effect from our Industrial robot demo

    You can map the rotation amount to animation frames using
    https://www.soft8soft.com/docs/manual/en/introduction/Puzzles.html#set_animation_frame
    and possibly some simple arithmetic puzzles.

    Hope this helps!

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

    Chief 3D Verger | LinkedIn | Twitter

    #9053
    tcdoe
    Customer

    Thanks!
    I think I understand, we’ll give it a go then. :)

    CEO, ABĒMIS LLC
    visit: abemis.com

    #9095
    tcdoe
    Customer

    Is there an easy way to make an atlas from an image sequence (mp4 or anim-gif either one) that I should know? There’s probably some easy python script or something out there. I searched but didn’t find anything I could easily use… Also, I’m worried that the atlas would be too big. Probably I’ll need at least 400×400 for each image just to make it look photographic very basic and not too pixelly (that’s what I’m using now for anim-gif. So for 36 images which is bare minimum to look decent for one 360 rot, that’s 2400×2400 just for the ugly case. I’d rather have 64 steps but that’s not looking possible.
    I have a feeling that just using an mp4 with 64 frames might work, as long as I can set the picture frame to synchronize with animation. Not sure about that yet.
    Anyway thanks if you know a video to atlas tool.

    CEO, ABĒMIS LLC
    visit: abemis.com

    #9103

    Is there an easy way to make an atlas from an image sequence (mp4 or anim-gif either one) that I should know?

    You can use this simple git to sprite sheet conventor. There’s also a lot of useful conventors on this site, for example Video to Gif, gif optimizer and so on.

    Co-founder and lead graphics specialist at Soft8Soft.

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