material scales when is set UV

Software: Away3D 4.x

ArmanBM, Newbie
Posted: 05 January 2013 02:03 PM   Total Posts: 5

hello every one.

i have a wall on my Away3D 4.1 project. and a little texture that should repeat on the wall surface

when i set “repeat = true” on materail, nothing happen.
so i need to set UV, and when i set UV texture will repeat but it will scale texture.
i want it to repeat accordint to texture s width and Height.
please show me a way…

Thanq so much

   

rthompson, Newbie
Posted: 07 January 2013 10:28 PM   Total Posts: 9   [ # 1 ]

Look at the scaleU and scaleV properties of the submesh.  If you want your texture to repeat twice you’d set scaleU = 2, and scaleV = 2.

You need to set animateUVs on the material to true as well.

   

ArmanBM, Newbie
Posted: 08 January 2013 07:34 AM   Total Posts: 5   [ # 2 ]

Tanx For Your Reply.

But i dont want my textre to repeat fixed number of time.
i want it to repeat acording to my object size.
exaclty the way papervision dose this. i want the same things

   

ArmanBM, Newbie
Posted: 14 January 2013 03:50 PM   Total Posts: 5   [ # 3 ]

Is this really no way to do this in away3d?
papervision dose this automatically.

i think it should be a simple way in away3d 4 too.


tanks for your helps…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X