User Tag List

Page 4 of 4 FirstFirst ... 2 3 4
Results 31 to 38 of 38

Thread: MMF2 + lens object=Horrible slowdown :(

  1. #31
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    []Lens is a very "heavy" object. It is doing heavy maths and read every single pixel in the lens image 50 time per second. This is very slow so try to keep your lens images small to run a decent speed on lower end computers.

    Since lens is doing pixel by pixel checks, for some reason, turning DirectX on (in your application properties) slows Lens down. If you also enable VRAM, Lens will cause your game/app to run extremely slow. I'm sorry I can't fix it. So if you want decent speeds, keep your fingers off DirectX and VRAM <img src="/center/images/graemlins/wink.gif" alt="" />

    A tip for improving speed:
    Turn off autoupdating and use the 'Manual update' action when it is needed, for example when Lens is overlapping a moving object that requires the lens object to distort the background once again. If autoupdate is turned off, the lens will keep its last distorted image and whon't use CPU on rendering a new one. [/]

    From the help file about speed!

  2. #32
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    []Lens is a very "heavy" object. It is doing heavy maths and read every single pixel in the lens image 50 time per second. This is very slow so try to keep your lens images small to run a decent speed on lower end computers.

    Since lens is doing pixel by pixel checks, for some reason, turning DirectX on (in your application properties) slows Lens down. If you also enable VRAM, Lens will cause your game/app to run extremely slow. I'm sorry I can't fix it. So if you want decent speeds, keep your fingers off DirectX and VRAM <img src="/center/images/graemlins/wink.gif" alt="" />

    A tip for improving speed:
    Turn off autoupdating and use the 'Manual update' action when it is needed, for example when Lens is overlapping a moving object that requires the lens object to distort the background once again. If autoupdate is turned off, the lens will keep its last distorted image and whon't use CPU on rendering a new one. [/]

    From the help file about speed!

  3. #33
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Posts
    311
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    Ah, uhm...RTFM <img src="/center/images/graemlins/smile.gif" alt="" /> i forgot.

    I tried to change the framerate with following results:

    50 FPS: slowdown (but not continuously, sometimes faster, sometimes slower)

    70 FPS: all right!

    and now the surprise: 25 FPS is also all right (the mirror effect is slower, but continuously. the zoom and origin effect are fast like with 70 FPS)

  4. #34
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Posts
    311
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    Ah, uhm...RTFM <img src="/center/images/graemlins/smile.gif" alt="" /> i forgot.

    I tried to change the framerate with following results:

    50 FPS: slowdown (but not continuously, sometimes faster, sometimes slower)

    70 FPS: all right!

    and now the surprise: 25 FPS is also all right (the mirror effect is slower, but continuously. the zoom and origin effect are fast like with 70 FPS)

  5. #35
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    Hmm crazy :S
    Could you try sending me a little example on that please? <img src="/center/images/graemlins/smile.gif" alt="" />
    Might be something in the code slowing it down, It would be neat with an example to test changes in the code on.

  6. #36
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    Hmm crazy :S
    Could you try sending me a little example on that please? <img src="/center/images/graemlins/smile.gif" alt="" />
    Might be something in the code slowing it down, It would be neat with an example to test changes in the code on.

  7. #37
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Posts
    311
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    It is the original Lens.mfa in the examples-directory.
    Just added a frame rate counter.

  8. #38
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Posts
    311
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + lens object=Horrible slowdown :(

    It is the original Lens.mfa in the examples-directory.
    Just added a frame rate counter.

Page 4 of 4 FirstFirst ... 2 3 4

Similar Threads

  1. Lens object?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th December 2011, 09:33 PM
  2. Horrible bug du "Bad Object" !!!!!
    By Surmulot in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 8th March 2007, 06:26 PM
  3. Massive MMF2 build 243 slowdown
    By Corentin in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th November 2006, 03:52 PM
  4. A weird MMF2 bug or horrible user error?
    By Gamerdude in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 21st August 2006, 09:05 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
  •