A little note here, I see a radius of 20000, you also can define the inner subdivision...
just pass subdivision:int to the init object;

The textures will look nicer, the tris will be a lot less elongated: will run faster and look nicer.

Fabrice


On Feb 18, 2009, at 5:01 AM, Li wrote:

Just tried this and it works:

var poli:RegularPolygon = new RegularPolygon({radius:750, sides:12});
var bmd:BitmapData = new BitmapData(400, 400, false, 0xFF0000);
            bmd.perlinNoise(10, 10, 8, 1, false, true);
            poli.material = new BitmapMaterial(bmd);
            poli.bothsides = true;
            _scene.addChild(poli);



On Wed, Feb 18, 2009 at 1:29 AM, Lucas Guilherme <[email protected]> wrote:
Hello,

I'm a beginner of away3d.
Is it possible to apply BitmapMaterial in a polygon? Like in a plane:

plane = new Plane({material:my_material,width:250,height:250,x:0,y: 30,segmentsH:1, segmentsW:1});

I'm creating my poligon like this:

polygon = new RegularPolygon({radius:20000,sides:5});

and want to apply some texture, material on my polygon.

BR,
LĂ­biny


Reply via email to