thx it works ^^ :D

On 11 dec, 10:34, tartiflop <[EMAIL PROTECTED]> wrote:
> Hi,
>
> You can find an example of tiling textures 
> athttp://blog.tartiflop.com/2008/11/first-steps-in-away3d-part-3-textur...
> as well as a general tutorial on texture mapping.
>
> To tile you need to use a TransformBitmapMaterial, passing parameters
> to indicate that you want the texture to be tiled. For example :
>
> var tiledAway3DMaterial:TransformBitmapMaterial = new
> TransformBitmapMaterial(Cast.bitmap(away3DBitmap), {repeat:true,
> scaleX:.5, scaleY:.5});
> var cube:Cube = new Cube({material:tiledAway3DMaterial, width:75,
> height:75, depth:75});
>
> Hope this helps,
> Stuart
>
> On Dec 11, 9:34 am, stephan <[EMAIL PROTECTED]> wrote:
>
>
>
> > var cube1:Object3D = new Cube({material:"damwand.jpg",depth:
> > tbreedte.text ,width: tlengte.text ,height: thoogte.text});
>
> > i got this cube code here.
> > But i want to us e's tile on it.
> > So that i can repeat the “damwand.jpg” picture on all side of the cube
> > multiple time's.
> > i got a few examples from the Internet.
> > .but i cant figure out how to do that.
> > can somebody help me?- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Reply via email to