Support - Forum aa
« Back to Support» Mobile: Scene position problem
Posted on 02.02.2012 by Crowley, Anthony
Hi,
I'm trying out Flare for mobile, and am just trying to write a basic test based on YellowPlanet to check performance on various devices.
So....I'm creating a really simple scene, and I test it in the simulator, and nothing. I decide to try upping the resolution on the simulator, and see that the scene is in fact there, it's just not where I expect it to be.
I'm using the latest version of Flare3D in Flash Builder 4.6, here's my default package class:
package
{
import flare.basic.*;
import flare.core.*;
import flare.loaders.Flare3DLoader1;
import flash.display.*;
import flash.events.*;
public class flareMobileTest extends Sprite
{
private var scene:Scene3D;
private var planet:Pivot3D;
public function flareMobileTest()
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
scene = new Viewer3D(this);
scene.registerClass(Flare3DLoader1);
scene.antialias = 4;
planet = scene.addChildFromFile("planet.f3d");
}
}
}
...and finally, a screenshot of the wonky result: http://i.imgur.com/mew7r.jpg
Any ideas?
Thanks!
I'm trying out Flare for mobile, and am just trying to write a basic test based on YellowPlanet to check performance on various devices.
So....I'm creating a really simple scene, and I test it in the simulator, and nothing. I decide to try upping the resolution on the simulator, and see that the scene is in fact there, it's just not where I expect it to be.
I'm using the latest version of Flare3D in Flash Builder 4.6, here's my default package class:
package
{
import flare.basic.*;
import flare.core.*;
import flare.loaders.Flare3DLoader1;
import flash.display.*;
import flash.events.*;
public class flareMobileTest extends Sprite
{
private var scene:Scene3D;
private var planet:Pivot3D;
public function flareMobileTest()
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
scene = new Viewer3D(this);
scene.registerClass(Flare3DLoader1);
scene.antialias = 4;
planet = scene.addChildFromFile("planet.f3d");
}
}
}
...and finally, a screenshot of the wonky result: http://i.imgur.com/mew7r.jpg
Any ideas?
Thanks!
Reply By Crowley, Anthony 02.03.2012
I'm not sure what you mean, you definitely can do AIR for mobile with AS3.
If you mean that Flare doesn't work with AIR for mobile, this site makes claims to the contrary. The iOS projector apparently doesn't have the Stage3D modules yet, but from what I understand, it should be fine on Android.
If you mean that Flare doesn't work with AIR for mobile, this site makes claims to the contrary. The iOS projector apparently doesn't have the Stage3D modules yet, but from what I understand, it should be fine on Android.
Reply By Nehmad, Ariel 02.03.2012
Hi Anthony, Adobe didn't release Stage3D for mobile yet.
As soon as Adobe releases AIR for mobile with Stage3D support, Flare3D will be also compatible.
As soon as Adobe releases AIR for mobile with Stage3D support, Flare3D will be also compatible.
Reply By krish, krishsalt 03.28.2012
Hi Ariel,
Today Adobe AIR3.2 released, I tried to use adobe 3.2 still same issue is there
Please find link http://i.imgur.com/gr725.png
any help will be appreciated.
Thanks in advance
Regards,
Krish
Today Adobe AIR3.2 released, I tried to use adobe 3.2 still same issue is there
Please find link http://i.imgur.com/gr725.png
any help will be appreciated.
Thanks in advance
Regards,
Krish
Reply By Jimmy, FISCHER 03.28.2012
Try to modify the fullscreen attribute to false in your application.xml.
But you might have different result depending on platform you are publishing to.
This seems to be an air bug, starling users have the same issues look at starling forum or here http://www.flashdevelop.org/community/viewtopic.php?f=13&t=9466
But you might have different result depending on platform you are publishing to.
This seems to be an air bug, starling users have the same issues look at starling forum or here http://www.flashdevelop.org/community/viewtopic.php?f=13&t=9466
Popular
- 1. Question of Alpha sorting system
- 2. Rndering issue on AIR Mobile build
- 3. Problems with bone position?
- 4. Is it possible to make a primitive...
- 5. Messed up textures in Flare 3d Studio
- 6. Moving "by hand" the corners of a Plane
- 7. Shapes, splines and knots
- 8. Diferencia entre Flare3D Studio y...
- 9. Transform between two states
- 10. ReferenceError: Error #1074
