Can i tween 3 cube sides from transparent to selected color??

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Can i tween 3 cube sides from transparent to selected color??

keitai
This post has NOT been accepted by the mailing list yet.
Hi,

Starting out with papervision  and i was wondering if you tween the side colors of a cube, so it looks the cube appears??

I have this cube:
matRed = new MaterialsList({
            front:new ColorMaterial(0x7C191E),
            back:new ColorMaterial(0x601418),
            left:new ColorMaterial(0xB8252D),
            right:new ColorMaterial(0xB8252D),
            top:new ColorMaterial(0x601418),
            bottom:new ColorMaterial(0x7C191E)});

cube2 = new Cube(matRed, 60, 60, 60);

and say i want to tween the cube from a wireframe to colors, how can i do this??


btw: how is the world space positioned? it looks like mine is upside down??