Error #3709: The depthAndStencil flag when targeted to Air 3.2 for desktop tested with latest framework downloaded from github

Software: Away3D 4.x

Rajneesh, Jr. Member
Posted: 19 June 2012 12:04 PM   Total Posts: 34

Hi,

I downloaded latest build from https://github.com/away3d/away3d-core-fp11
and examples from https://github.com/away3d/away3d-examples-fp11.

I tried example “Basic_LoadOBJ.as” with target output set to AIR 3.2 for desktop.

I set render mode to “Direct”. I have also added the following line,

<depthAndStencil>true</depthAndStencil>

to XML file (application descriptor).

But i still get the following error,

Error #3709: The depthAndStencil flag in the application descriptor must match the enableDepthAndStencil Boolean passed to configureBackBuffer on the Context3D object.
at flash.display3D::Context3D/configureBackBuffer()
at away3d.core.managers::Stage3DProxy/onContext3DUpdate()

   

Rajneesh, Jr. Member
Posted: 19 June 2012 12:14 PM   Total Posts: 34   [ # 1 ]

Success.

I updated the class “Stage3DProxy.as” from

https://github.com/away3d/away3d-core-fp11/blob/088aab139afc56196b66bb2fa33289a65b8c8348/src/away3d/core/managers/Stage3DProxy.as

It still gave me the following error,
1119: Access of possibly undefined property CONTEXT3D_RECREATED through a reference with static type Class.

Then i updated the “Stage3DEvent.as” class by adding the following line
public static const CONTEXT3D_RECREATED :String = “Context3DRecreated”;

It is now running.

   

Richard Olsson, Administrator
Posted: 20 June 2012 06:25 PM   Total Posts: 1192   [ # 2 ]

This has already been fixed in the latest version of the release branch. Make sure you get the right branch if you’re seeing this issue, or wait until it’s merged into master in time for the scheduled mid-July release of stable Away3D 4.0.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X