FFilmation 1.3 important performance patch ( Tue 4 Nov 2008 )

This is only for users of the official 1.3 release. If you keep up to date with SVN you will already have this.

So I was building the scene editor and had this fullscreen canvas that you can drag around like in Photoshop ( hold SPACE and drag ). Performance was very very poor. And I thought “this can’t be: the scene is totally static and the engine makes magnificent use of Bitmaps and cacheAsBitmap, doesn’t it ?”

Well it was not :(   I found out that I was not using cacheAsBitmap properly. Now I have moved to a blend of cacheAsBitmap and raw Bitmaps. Good thing is that fixing the editor I have also fixed the engine, and now the overall performance of the engine has increased noticeably ( at least on my test system ).

Download the patch here and overwrite the files included into your renderEngines/flash9renderEngine folder. If you have ongoing projects this won’t break anything and hopefully you will notice a big improvement. Please give it a try and tell me how it worked for you

8 Responses to “FFilmation 1.3 important performance patch”

  1. I am getting this error after updating:

    fFlash9PlaneRenderer.as, Line 211 – 1046: Type was not found or was not a compile-time constant: fNewMaterialEvent.

  2. Hey,
    Seems like the patch includes some references to newer code than the original 1.3 release, would the patch actually require me to be up-to-date with the latest SVN revision? The errors I experienced were in relation to the new static fScene coordinate translation methods and a new class referenced from the plane renderer.

  3. Ooops !

    I forgot about those. I’ll try to fix it ASAP

  4. Ok it should compile now. I have updated the ZIP file

  5. That’s better, now compiles with the original 1.3 release with no problems. Thanks for the update

  6. I found a bug on the 1.3 version:

    The fEngineCollisionModel.as file should not be in this folder “org\ffilmation\engine\logicSolvers\collisionSolver\collisionModels\”. It will make a error report. I put this file in “org\ffilmation\engine\interfaces\”, it works. Would you mind fix this bug? Thanks.

  7. Hi,

    org\ffilmation\engine\logicSolvers\collisionSolver\collisionModels is the appropiate location for that file. You must be having another conflict, maybe mixed files from this and earlier versions.

    Try deleting all the old files ( if you didn’t change them ) and install the last version. It should work fine: it does for everybody.

    Best

  8. Hi, admin
    Thank you very much. I deleted all the old engine files in the Flash install folder. It works.

    Regards

Leave a Reply