Adobe Air Framerate

Software: Away3D 4.x

3dNewb, Sr. Member
Posted: 28 December 2011 12:13 PM   Total Posts: 105

Pretty simple setup, some shapes, some materials, some lights. Nothing special.

Framerate as a swf the browser: 50fps
Framerate in adobe air desktop application : 36fps

I would have thought that the desktop version would be faster. Any know tweaks?

   

Avatar
theMightyAtom, Sr. Member
Posted: 28 December 2011 04:08 PM   Total Posts: 669   [ # 1 ]

Use the AwayStats object and make sure your AIR app is using Hardware acceleration.

   

3dNewb, Sr. Member
Posted: 29 December 2011 01:07 PM   Total Posts: 105   [ # 2 ]

It’s not running in “Software mode” if that is what you mean. The awaystats object just gives me the same framerate: 38/48.

So using AIR instead of the browser plugin is just slower. Good to know.

   

Radagast, Newbie
Posted: 11 June 2013 03:59 PM   Total Posts: 28   [ # 3 ]

Im working on Away3D 4.1 Beta. Just wanted to check how my project will perform exported to AIR. And like 3dNewb wrote with AIR desktop You loose a lot fps.
Even on empty stage3D (just view, scene, and view.render() in every frame) i have 50/60 FPS. Why ? Nothing to render there. In browser even in softwareMode i have 60/60,
its obvious:P

First i checked application.xml, it looks like this.

<?xml version="1.0" encoding="utf-8"?>
<application >
  <
id>TaernAir</id>
  <
versionNumber>1.0</versionNumber>
  <
filename>TaernAir</filename>
  <
name>TaernAir</name>
  <
initialWindow>
    <
title>TaernAir</title>
    <
content>TaernAir.swf</content>
    <
systemChrome>standard</systemChrome>
    <
transparent>false</transparent>
    <
visible>true</visible>
    <
minimizable>true</minimizable>
    <
maximizable>true</maximizable>
    <
resizable>true</resizable>
 <
renderMode>direct</renderMode>
 <
depthAndStencil>true</depthAndStencil>
  </
initialWindow>
  <!-- 
 
More options:
 
http://livedocs.adobe.com/flex/3/html/File_formats_1.html#1043413
 
-->
  <
supportedProfiles>desktop</supportedProfiles>
</
application

(tested also with <renderMode>gpu</renderMode>)

when updated AIR SDK (from 3.5 to 3.7) i gained +5fps, so now its 55/60fps on empty stage (but still not 60!);

I checked GPU usage with GPU-Z.
With AIR - On complicated scene im getting 30fps and almost no GPU use
The same scene (10 animated characters and some 3D objects, lights, 140k POLY) uses a lot of GPU in browser and performs with 60fps.

Looks like air is not using GPU at all.
Is that normal AIR behaviour or i have some configuration issues?

Best Regards
Radagast

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X