Hi I cant find any information about how to scale UV with pivot point in center. I don’t get those offsetU, and offsetV props, can any one describe me how can I scaleUV with pivot point at center?
Thanks a lot!
Scale UvSoftware: Away3D 4.x |
||
sargon, Member
Posted: 01 July 2013 12:08 PM Total Posts: 51 Hi I cant find any information about how to scale UV with pivot point in center. I don’t get those offsetU, and offsetV props, can any one describe me how can I scaleUV with pivot point at center? Thanks a lot! |
||
CyrilM, Newbie
Posted: 02 July 2013 05:46 PM Total Posts: 15 [ # 1 ] There are four values. offsetU - translates the texture in the U direction If you want to scale the texture as if the pivot was in the center, then do this offsetU = ((1-newScaleU) / 2); I believe that will work. I haven’t actually tried it though. |
||
|
||
Fabrice Closier, Administrator
Posted: 02 July 2013 10:41 PM Total Posts: 1265 [ # 3 ] you could also use UVAnimator.—> look in tutorials section on this site |