create a cylinder with yUp =false

light = new PointLight(); //pos set in renderloop
scene.addChild(light);
var mat:BitmapMaterial = new BitmapMaterial(Bitmap(new
IMGASSET()).bitmapData);
mat.lights = [light]
var cylinder:Cylinder = new Cylinder(mat, 150, 150, 200, 8, 4, true, true,
false);
scene.addChild(cylinder);

The top and bottom center vertices are reversed.

possible fix?

line 80
vertices[numVerts++] = -_height/2;

line 166
vertices[numVerts++] = _height/2;


http://code.google.com/p/away3d/issues/detail?id=174&sort=-id

Reply via email to