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


I am getting this error after updating:
fFlash9PlaneRenderer.as, Line 211 – 1046: Type was not found or was not a compile-time constant: fNewMaterialEvent.
Malero said this on November 4th, 2008 at 9:24 pm
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.
Stefan said this on November 4th, 2008 at 10:19 pm
Ooops !
I forgot about those. I’ll try to fix it ASAP
admin said this on November 4th, 2008 at 11:36 pm
Ok it should compile now. I have updated the ZIP file
admin said this on November 4th, 2008 at 11:46 pm
That’s better, now compiles with the original 1.3 release with no problems. Thanks for the update
Stefan said this on November 5th, 2008 at 1:06 am
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.
nliu said this on November 6th, 2008 at 10:51 am
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
admin said this on November 6th, 2008 at 11:17 am
Hi, admin
Thank you very much. I deleted all the old engine files in the Flash install folder. It works.
Regards
nliu said this on November 13th, 2008 at 2:31 am