Hello,
I am new to the whole 3D thing and need some help in the right direction to get me started. I have plenty of experience in actionscript and programming in general, so that won’t be a problem.
I’m trying to use a spritesheet on a plane, so I want to clip a small part of the texture and stick it on the plane. I’ve done some research on how exactly UV’s work, and it seemed pretty logical. Here is the example I used if anyone is curious; http://www.rozengain.com/blog/2007/08/26/uv-coordinate-basics/
It’s not away3D, but I understand the basic now.
Here is where it get’s confusing; When I apply a texture to a plane without modyfying the UV’s , the
plane.geometry.subGeometries[0]).UVData
contains the following data:
-0.5
0
-0.5
0
1
0
1
0
0
0
1
0
0
0.5
0
-0.5
0
1
0
1
0
0
1
1
0
0
-0.5
0
0.5
0
1
0
1
0
0
0
0
0
0
0.5
0
0.5
0
1
0
1
0
0
1
0
0
0
Going by the tutorial, I would have guesse that it would have been something like this;
0, 0, 0, 1, 1, 0, 1, 1;
Any pointers on why the UV is like this?
I’m not worried about implementing a spritesheet feature yet, I want to get past this basic problem first.