Hi,
I am trying to set up a Histogram component, based on the Cube primitive. But, 
when I assign colors to its different sides, it comes with the "top" color on 
both "right" and "left" sides ?
Here is my (very simple) code :
            histo2.cubeMaterials.back = new ColorMaterial(0x87c647);
            histo2.cubeMaterials.bottom = new ColorMaterial(0x87c647);
            histo2.cubeMaterials.front = new ColorMaterial(0x87c647);
            histo2.cubeMaterials.left = new ColorMaterial(0x5eb705);
            histo2.cubeMaterials.right = new ColorMaterial(0x5eb705);
            histo2.cubeMaterials.top = new ColorMaterial(0x98d061);
Thanks,
Cyrill

away3d 3.6

Reply via email to