Im having a major problem controlling the framerate in my Away3D scene. Here are the details:
I built a 3D city where the camera moves down the street for 60 seconds. I used Planes for the buildings and road (since the user cannot turn) and used BitmapMaterials for the graphics. (so everything on screen is BitmapMaterial). I have about 100 meshes on screen. My problem is this:====================== The camera movement is fine at first, then as I proceed down the street and less and less buildings are on screen, the FPS reading in the Away3D Stats jump wildly between 20 frames per second and 100 frames per second and the MS reading in the stats jumps from 65 all the way up to 1800 at times and freezes the game for a second. I have set the framerate in the game like this: [SWF(frameRate="30", backgroundColor="#000000")] I want the framerate to stay the same even if there are only a few planes on screen towards the end of the street. Can someone please tell me how to stabilize the framerate so it is the same throughout the game? This is driving me insane! Thanks =)
