Warning: animateUVs is set to true with an IRenderable without a uvTransform. Identity matrix assumed.
If you use animate UVs and set the same U or V value as a previous one
uvTransformDirty is not set (submesh line 60 & 70)
and causes the trace warning (DefaultScreenPass line 583)
private function initObjects():void
{
var splitH:Number = 8
var splitV:Number = 8
var depth:Number = 69;
var i:int = 0;
var j:int = 0;
var mat:TextureMaterial = new TextureMaterial(Cast.bitmapTexture(new ImageEmbed()));
mat.animateUVs = true;
var cont:ObjectContainer3D
var planeFrontMesh:Mesh
var pg:PlaneGeometry
pg = new PlaneGeometry(1920 / splitH, 1080 / splitV, 1, 1, false)
for (i = 0; i <= splitH - 1; i++)
{
for (j = 0; j <= splitV - 1; j++)
{
c ObjectContainer3D();
cont.x = 1920 / splitH * i - 1920 / 2 + 1920 / (splitH * 2);
cont.y = 1080 / splitV * -j + 1080 / 2 - 1080 / (splitV * 2);
cont.z = depth / 2;
scene.addChild(cont);
planeFr Mesh(pg, mat);
planeFrontMesh.z = -depth / 2;
cont.addChild(planeFrontMesh);
planeFrontMesh.geometry.scaleUV(1 / splitH, 1 / splitV);
//causes UV warning
planeFrontMesh.subMeshes[0].offsetU = ((1 / splitH) * i);
planeFrontMesh.subMeshes[0].offsetV = (1 / splitV * j);
//note this doesnt cause the trace warning as offsetU is never the same as the last value set
//so uvTransformDirty is set and matrix assigned
//planeFrontMesh.subMeshes[0].offsetU = 1/i;
}
}
}