Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Trying to make a 360 viewer w/QMovie

Trying to make a 360 viewer w/QMovie

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    st2000
    wrote on last edited by
    #1

    Hi,
    I am trying to make a 360 viewer using an animated gif and a QMovie. It all is looked good except there is about a 2 second delay before my movie starts. What is suppose to happen is when I run my finger across the QMovie it rotates. Well that works. Except I have to wait 2 seconds before the movie starts working. I cache the QMovie and I jump to eash frame as needed to support a spinning object. I never just run the movie.

    I have a feeling that the 2 second delay is for pulling in the gif animation from the external storage.

    Is there a way to force all the caching to take place as soon as I show the first frame?

    -thanks

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Did you already experiment with "cacheMode":http://qt-project.org/doc/qt-4.8/qmovie.html#cacheMode-prop ?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        st2000
        wrote on last edited by
        #3

        The cache mode is turned on. Without it the QMovie would not go backwards. I believe it is set to cache all the frames of the animation. I did not see a way to force caching the frames before they were displayed.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved