User Tag List

Results 1 to 7 of 7

Thread: Blur active object

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2010
    Location
    Slovenia
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Blur active object

    Hi guys!

    Is it possible to blur (and unblur) active object during the runtime?

    If yes- I would appreciate an example. :-)

    Thank you in advance
    Dusan

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Blur active object

    I am pretty sure you can do it with a pixel shader in the HWA runtime. Or you might be able to use the lens object
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2010
    Location
    Slovenia
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Blur active object

    Thank you LB!
    I downloaded "Complex-shaders Pack V2", which looks exactly what I need. First I tried "Simple Blur" Effect which has only one parameter: "fCoeff". It worked fine, but the end result was not what I expected

    So I tried "Blur Real", which has two parameters: "fCoeff" and "nSteps". I tried with numerous values for both parameters, but this time I didn't see any effect on the active object.

    Can please someone explain how this effect works?

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Blur active object

    the "Blur" pixel shaders work by creating multiple semitransparent copies of the image and displacing them from each other. A "2x" blur will create 2 images, and displace them. A "4x" blur will create 4 images. Generally these are aligned on equal angles.

    The "nSteps" blur effect uses an integer "N" amount of blur images. The fCoeff parameter refers to how far these images are displaced from on another.


    If you are looking for a blur effect that actually stretches or deforms an image, you'll need to use a different pixel shader, or better yet, make one yourself (exactly what I've done when I need one!)

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2010
    Location
    Slovenia
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Blur active object

    Pixelthief, thank you very much!

    As I mentioned both parameters doesn't give any effect on the object. I'm attaching a short MFA file- would you be so kind to check what I'm doing wrong?

    link: blur_shader.mfa

    Unfortunately I don't have enough knowledge to write my own blur shader! But if I understand you correctly, you wrote one? Would you be so kind to share it?

  6. #6
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Blur active object

    Using the "Set effect" action will reset all parameters on the object. In your code, you are only setting either the fCoeff or the nSteps parameters, not both, at the same time.


    It appears that this shader uses 4^N or so images, if I'm reading it right, by recursively drawing the image from each of 4 nodes to the immediate north, south, east, and west. So not exactly the "rotate around the image" I would have guessed.

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2010
    Location
    Slovenia
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Blur active object

    Pixelthief, thank you very much!!! Yes, that was the problem- It works now! :-)

    But you are right- I'm a little disappointed on quality. You need quite a big "nSteps" factor if you want a decent results. And this slows down the program significantly! (I have 10 objects in the scene which needs to be blurred). And I have a feeling that this objects doesn't work well with alpha channel.

    So if anybody knows a better solution, I will be very thankful :-)

Similar Threads

  1. Blur effect
    By ChrisBurrows in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 13th October 2012, 07:36 AM
  2. Motion Blur?
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 4th February 2011, 05:45 AM
  3. Motion Blur Example
    By Christian_Wheel in forum File Archive
    Replies: 3
    Last Post: 21st September 2010, 01:03 AM
  4. Advice about Active Object vs Active Picture
    By Pablo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th October 2007, 02:40 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
  •