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