Hello,

i want to display a round face with a texture.

If i do this, the result is what i want, but without texture

mesh = new Mesh();
var myface:Face = new Face();
myface.moveTo( -500, -500, 0);
myface.curveTo( -200, -500, 1500, 500, -500, 0);
myface.lineTo( 500, 500, 0);
myface.curveTo( -200, 500, 1500, -500, 500, 0);
mesh.addFace(myface);
scene.addChild(mesh);

If i add this line to add the texture, the face is no longer round.
myface.material = new PhongBitmapMaterial(textures[0]);

This line works, but is no bitmap
myface.material = new ShadingColorMaterial(0x0000ff);

Can someone explain it to me or give a different solution?

Guido


Reply via email to