Rotating a 3D object / movie
Sergio Schvarstein
sschvarstein at gmail.com
Tue May 29 07:12:57 EDT 2012
Hi Charles,
I was thinking about trying the approach you suggest but I wasn't convinced it would run smoothly because my looping movie has 300 frames.
But now that I've read about your results I will try it, maybe removing some frames of the movie before. You used the hidden cards method, probably activating the visible property, buy in my case I will try the filename method, to avoid having so much frames loaded in memory.
After writing my last message I've found a different approach, consisting in creating the movie as QuickTime (the first was an mp4) and applying the Photo - JPEG compressor. Even it is not as smooth as I would like viewing it using the slider, all the frames are shown.
I will let you know about the results of my next steps.
Thanks for your answer and Best Regards.
______________________________
Sergio Schvarstein
sschvarstein at gmail.com
______________________________
El 28/05/2012, a las 19:00, use-livecode-request at lists.runrev.com escribió:
> Hi Sergio,
> I have a little desktop stack I've been playing with. I want to show a movie as the background of several cards, and have control over looping and playback.
> I tried an animated GIF, but the downsampling to 8-bit left me with some ugly, posterized images.
> I came up with this: the stack has a hidden card with a series of 640 x 480 px JPEGs on it. I run a loop and assign them in sequence as the icon of a button in the background of my main card, waiting about 40 milliseconds (with messages) within the loop. At least on the desktop this shows a smooth sequence of 24-bit images at about 25 frames per second. Haven't tried it on iOS yet. Of course my 2 sequences are only a couple of seconds long... much shorter than yours, but maybe a similar approach would work?
> - Charles
More information about the use-livecode
mailing list