User Tag List

Results 1 to 5 of 5

Thread: Motion Blur example

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Motion Blur example

    This is a fairly simple and very realistic motionblur example.

    It uses:

    - Move Safely 2 Object
    - Screen Capture Object (for taking snapshots of the effect)

    Frame 1 is commented, and better than the others. By default, quality is set to 3, which I've found to be a good balance. A setting of 1 is the best looking, but can slow down when the object has moved long distances.

    These screenshots are taken at a quality of 1. Lower qualities look good in motion, but not so good in screenshots.


    ^ A short movement.


    ^ A longer movement.


    ^ How it looks with cleanup disabled. This shows several frames, just without having erased the older blurs.

    Limitations

    1. I haven't tried, but I doubt it'll work so well on layers. Keep it on the background layer.

    2. The effect is very much limited to the framerate of the game, because it's using that as the exposure time. So the lower the framerate, the funkier the blur. Shouldn't be too hard to alter it for some other rate, or even just for 2 frames instead of one. One way may be to trigger the 'erase' event every 2 frames, instead of 'ALWAYS'.
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,817
    Mentioned
    6 Post(s)
    Tagged
    2 Thread(s)

    Re: Motion Blur example

    Neat!

    Thanks for putting out an example of this.

    I really liked how those screen shots looked in that other post and giving people the events is very nice of you

  3. #3
    No Products Registered

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

    Re: Motion Blur example

    Wow this is awesome! With HWA this should be nearly inexpensive for the CPU. What's the trick to make the "blur tail" a little longer in the first example (without the space bar key)?
    Many thanks for sharing.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Motion Blur example

    That could be great to have two new features in MMF2 to "delete X last created backdrop" and "delete X first created backdrop".
    That would allow easily to set the lenght of the tail of the motion blur.

    Very nice example.

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Motion Blur example

    It's a bit tougher to increase the trail life without a feature like Sphax suggested. The truest way to do it is to reduce the framerate.

    But a simple bodge would be to do this:

    Create another variable somwhere, like an alterable value, and call it 'Exposure Frames'. Set it to something like '3'.

    Then create a counter, and call it EXPOSURE.

    Then ADD this at the beginning:

    ALWAYS
    Exposure: Set value: '(value("EXPOSURE") + 1) mod [Exposure Frames]'

    Then, on that event where I've got "While space is not pressed", add this condition:

    Counter 'EXPOSURE' == 0


    So if we set 'Exposure Frames' to 3, it will only delete the blur every 3 frames.

    It's a lot more jittery though.

Similar Threads

  1. Motion Blur Example
    By Christian_Wheel in forum File Archive
    Replies: 3
    Last Post: 21st September 2010, 01:03 AM
  2. Motion Blur
    By Looki in forum Hardware Accelerated Runtime
    Replies: 12
    Last Post: 10th June 2010, 11:15 AM
  3. Motion blur?
    By Nick in forum Hardware Accelerated Runtime
    Replies: 29
    Last Post: 18th November 2008, 01:33 PM
  4. Motion blur
    By Pkeod in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 29th March 2007, 07:26 PM
  5. Motion blur
    By iza in forum File Archive
    Replies: 37
    Last Post: 15th August 2006, 10:38 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
  •