away3d frame drop

Software: Away3D 4.x

funhala, Newbie
Posted: 21 January 2014 06:24 AM   Total Posts: 4

Hello,

I have an away3d 4 swf with a follow camera that has about 27k polygons. After a while frame rate drops from arround 24 to below 10 fps and stays at that level.

Does anyone else have this problem or is there a fix to this?

   

Avatar
theMightyAtom, Sr. Member
Posted: 21 January 2014 07:49 AM   Total Posts: 669   [ # 1 ]

Not a general issue, at least not for me.
This is usually caused by bad memory management, for example if you are creating a var within your render loop, or you are updating materials without removing the old ones, that type of thing. Also make sure your event listeners aren’t piling up. For example if you add a KeyUp listener on KeyDown, etc.

If you have an example, try publishing it with a URL, then we can try it out and you can find out whether the problem is specific to your set-up.

Cheers!

   

funhala, Newbie
Posted: 21 January 2014 09:05 AM   Total Posts: 4   [ # 2 ]

I was defining some var in the render loop, but I made that global and the problem is still there.

Here’s an example:
http://infiniteturtles.co.uk/projects/away3d4/examples/Basic_Globe/Basic_Globe.html

   

Avatar
theMightyAtom, Sr. Member
Posted: 21 January 2014 09:11 AM   Total Posts: 669   [ # 3 ]

I get a rock solid 30 fps.
Under DRIV in the stats panel, what does yours say?
OpenGL or DirectX? Just wondering if you’re in software (CPU) mode.

   

funhala, Newbie
Posted: 21 January 2014 09:27 AM   Total Posts: 4   [ # 4 ]

I’m in software mode, I think Stage 3D doesn’t support my graphics card.

   

Avatar
theMightyAtom, Sr. Member
Posted: 21 January 2014 09:30 AM   Total Posts: 669   [ # 5 ]

That would definitely explain it smile
Try updating your graphic card driver, you might be lucky.

   

funhala, Newbie
Posted: 21 January 2014 09:47 AM   Total Posts: 4   [ # 6 ]

Ok, maybe Away 3D developers could fix this issue if other people have it.

   

Vice, Member
Posted: 12 March 2014 01:13 PM   Total Posts: 58   [ # 7 ]

is this a driver bug? we have the same issue!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X