Implementing sprite sheet funcitonality

Software: Away3D 4.x

Vj3k0, Newbie
Posted: 12 September 2012 12:34 PM   Total Posts: 3

Hey all,
I’m having difficulty understanding how to effectively manipulate textures. I need to change texture on mesh to present animation. I thought that I can achieve animation through blitting and that I can have my sprite sheet and dynamically change content of texture. So my idea was to create mesh with TextureMaterial containing BitmapTexture. This way I can provide bitmapData to texture and manipulate with bitmapData.

I tried doing that but to no avail.

Then I found link1 and link2. In these posts it is stated how to achieve what I want (at least I think so). Problem is that I cannot find offsetU and offsetV properties on SubGeometry.

Any ideas how to do this offsetting?

Regards,
Vjeko

   

Vj3k0, Newbie
Posted: 12 September 2012 12:40 PM   Total Posts: 3   [ # 1 ]

Ok the problem was that I was looking in SubGeometry not SubMesh.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X