Error: Error #3611: Stream 2 is read by the current vertex program but not set.

Software: Away3D 4.x

woonin, Newbie
Posted: 04 August 2011 06:33 AM   Total Posts: 12

There is an auto JPG texture file on a md2 model,and then ,i wanna change it to a PNG file with alpha channel,code look like this:

........

var mesh:Mesh;
if (event.asset.assetType == AssetType.MESH)
{
  if(this.somethingName==“something”)
  {
    mesh=Mesh(event.asset);
    var bm:BitmapMaterial=new BitmapMaterial(new SomePic().bitmapData);
    bm.diffuseMethod.alphaThreshold=0.5;
    mesh.material=bm;
  }
}

........

there is the error info:

 

   

woonin, Newbie
Posted: 04 August 2011 06:41 AM   Total Posts: 12   [ # 1 ]

http://forums.adobe.com/thread/826223

He said:

Problem solved, I had to use

context.setVertexBufferAt(X, null);

where X is the number of the vertex stream I want to unset.


i don’t understand….. :(

   

Avatar
David Lenaerts, Administrator
Posted: 04 August 2011 10:09 AM   Total Posts: 80   [ # 2 ]

That seems to be a bug in the way vertex buffer clearing is handled. Can you submit a bug at https://github.com/away3d/away3d-core-fp11/issues with any details you can provide?

   

woonin, Newbie
Posted: 04 August 2011 02:02 PM   Total Posts: 12   [ # 3 ]

ok!

   

MegaManSE, Newbie
Posted: 13 December 2011 02:39 AM   Total Posts: 12   [ # 4 ]

I am also getting this error in the Away3D 4.  What is the status of this bug?

Thanks,
- Will

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X