Hey franto

try this to get idea

> var cube:Cube6 = new Cube6(new
> BitmapFileMaterial("assets/peterskybox2.jpg"), 10, 10, 10);
>
http://away3d.googlecode.com/svn/branches/lite/bin/assets/peterskybox2.jpg

and if you want to change it run time...
- prepare bitmap like peterskybox2.jpg with many color and load them
or
- try bitmap mat that contain bitmapdata and setup color each side like
peterskybox2.jpg with many color or maybe tint it at runtime by script

hth

On 5 February 2010 14:14, franto <[email protected]> wrote:

> Hi,
>
> how can be this achieved in Away3DLite? Is it possible? There is no
> CubeMaterialsData as I see
>
> --
> Franto Kormanak ([email protected])
> Owner & Senior RIA Developer
> at Flexets (http://www.flexets.com)
>
> profile: http://www.linkedin.com/in/franto
> skype: franto.kormanak
>
>
>
> On 5 February 2010 00:47, Samuel <[email protected]> wrote:
> > hi fabric, thanks for yor answer, one question :
> > i use this :
> > cube.cubeMaterials.left = new BitmapFileMaterial("resource/
> > front.jpg");
> >
> > for cube material but in text flash movie ,image that load to left
> > side is Broken. this is a swf file:
> > http://www.datisteam.com/images/Untitled-1.swf
> >
>



-- 
katopz
http://www.sleepydesign.com

Reply via email to