[Papervision3D] Dumb Cube question
John Lindquist
johnlindquist at gmail.com
Thu Jul 9 14:31:19 PDT 2009
Well, the back of the cube is facing the camera with default settings...
On Thu, Jul 9, 2009 at 3:29 PM, Ross Sclafani <ross.sclafani at gmail.com>wrote:
> there are no dumb questions, just dumb cubes.
> _r
>
> On Jul 9, 2009, at 5:03 PM, Peter Velichkov wrote:
>
> Hi guys,
>>
>> Haven't used cubes for a while and found out that the front and back
>> materials are swapped. Any reason for that or I'm missing something stupid.
>>
>> var materials:MaterialsList = new MaterialsList(
>> {
>> front: new ColorMaterial(0xFF0000),
>> back: new ColorMaterial(0x00FF00),
>> right: new ColorMaterial(0xFFFFFF),
>> left: new ColorMaterial(0xFFFFFF),
>> top: new ColorMaterial(0xFFFFFF),
>> bottom: new ColorMaterial(0xFFFFFF)
>> } );
>>
>> var c:Cube = new Cube(materials, 300, 300, 300);
>>
>> scene.addChild(c);
>>
>> Peter
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090709/39c17776/attachment.html>
More information about the Papervision3D
mailing list