VBGamer |
|
RE: Direct3D Question Jack Hoxley (0 replies, 0 views) (2000-Jul-28) Its fairly easy...
Say you have 2 32x32 tiles on one surface.
if you want the square in 3D to be the first tile the coordinates would be 0,0-0,0.5-1,0-1,0.5
You just have to work it out - the percentage/value across and clip it - specify only 0 to 0.5 or 0.5 to 1.0 for example.....
There are examples around.
Jack. |