Problem with device camera and Away 4

Software: Away3D 4.x

diego.pedroza, Newbie
Posted: 02 August 2013 02:24 PM   Total Posts: 8

Hey there!

I’m developing an augmented reality app and now is working perfectly locally but when test on my device my View dissapear

Debug and notice that when I activate my camera View is not showed, if erase the code to activate the camera can see the View

Camera Code:
var camera:Camera = Camera.getCamera();
camera.setMode(640, 480, 30, false);
 
video = new Video(STREAM_WIDTH, STREAM_HEIGHT);
video.attachCamera(camera);
addChild(video);

View Code:
view3D = new View3D();
view3D.backgroundColor = 0x393939;
addChild(view);

Thanks in advance

   

diego.pedroza, Newbie
Posted: 02 August 2013 06:26 PM   Total Posts: 8   [ # 1 ]

Hi

Is a really strange issue, it looks that if you create your camera in a different class that no depends from class or document that manage away 3d this works

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X