User Tag List

Results 1 to 10 of 10

Thread: [Question] Animation using an image sequence

  1. #1
    No Products Registered

    Join Date
    Nov 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Animation using an image sequence

    Hi,

    I have an image sequence of 80 frames - each frame is a JPG file of about 90 to 120 KB. As I want to keep them external, Active object cannot be used. I can't use an AVI file, so an animation object is also ruled out.
    The only other idea I could think of is using the Active Picture object:
    1. At start of Frame: Set Alterable Value A to 1

    2.
    Alterable Value A <80
    Every 00"15 (15/100th of the second), new picture (Appdrive$+appdir$+"sampleanim\anim100"+str$(Alter able Value A of Active Picture)+".jpg"

    The above works, but I can't get a good frame rate. I can achieve a frame rate of only about 13-20, where as when I use an Active object with speed 100, i can get a frame rate of 50 fps (my application is set at a max fps of 50).

    Is there any other way of doing this, while retaining a good frame rate?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    Active objects in MMF2 have a Load Frame action. Look under Animation actions.

    You may need to get the latest build (246).

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    That takes a long time to load frames into an object, looong loads.

  4. #4
    No Products Registered

    Join Date
    Nov 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    Thanks, I didn't knew about 'Load Frame' until you mentioned.
    But I am having difficulties using this as I can't see anything happening. Probably because I am not correctly using the following:
    What is 'Load Frame'? It says the value must be between 1 and 16, but I can't figure out what this means.
    'Enter Frame to display(First frame is number 0' : is this the frame number to which I wish to load the frame, or does it do something else?

    BTW, as Benicle has mentioned, does it really take long time to load frames? If so, how much time?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    When you say to load a frame from a file, it will ask a lot of questions. Frame 0 is the first frame, 1 is the second etc... I don't think there's a limit, just a sensible size for load times...

    One object loaded like this is unlikely to be a big loading hit, but several different ones all loading images may be.

    I'll check how to actually load one exactly later, I can't get to MMF2 right now.

  6. #6
    No Products Registered

    Join Date
    Nov 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    the Active object now loads the frames correctly, but there are two problems I am currently facing:
    1. After an animation ends, when I do a 'change animation' action, and force animation frame to go to X (no matter what the frame number is), the animation doesn't start. I have explored everything, but I can't seem to make the animation to start again, after it ends, unless I have a 'loop' checkbox checked (or repeat X times) in the setup window.
    Am I doing something wrong here?
    2. After the active object is loaded with frames, when I try to destroy the object, the object gets destroyed but the memory doesn't get freed. The only way I could make it to work is to load a small bitmap file iteratively into all frames, and then destroy the object, so as to free the memory. As the active object itself takes over 100 MB of memory, it is absolutely essential for me to destroy object and free up the memory in runtime.

    I am using the latest build of the MMF2 #246.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    1. Restore animation frame.

  8. #8
    No Products Registered

    Join Date
    Nov 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    I don't see anything happening after doing Restore Animation frame. The animation is still stopped.
    Is restore animation action alone is sufficient or is there anything else to do?

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=2&Number=54657&S earchpage=1&Main=8053&Words=restore+Sarah&topic=0& Search=true#Post54657

  10. #10
    No Products Registered

    Join Date
    Nov 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Animation using an image sequence

    Thanks, that works!
    However, is there any solution to the memory problem addressed above in my post, after destroying an active object in runtime?

Similar Threads

  1. Animation Sequence not working
    By WEich1213 in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 19th November 2013, 07:01 PM
  2. toggle animation sequence
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 27th August 2011, 10:41 AM
  3. hotkey to assign alphachannel to image sequence?
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th December 2009, 04:49 PM
  4. Changing animation sequence
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 28th April 2008, 07:29 AM
  5. Animation sequence selection bug?
    By Clicktastic in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 8th September 2006, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •