Added a procedure to change the texture-mapping. You can test
it with Cursor up-down in the example.
New version:
TransformSprite3D.
Ypser wrote:That TransformSprite3D works perfectly!!!!
How can I use that in my program???????
Use my procedures. You only need to call CorrectSprite3D(x)
after every transformation.
You could make your own transform like this:
Code: Select all
Procedure _TransformSprite3D(sprite,x1,y1,x2,y2,x3,y3,x4,y4)
TransformSprite3D(sprite,x1,y1,x2,y2,x3,y3,x4,y4)
CorrectSprite3d(sprite)
EndProcedure
So you can use it now and just remove the '_' when the
Sprite3D library is fixed.
Before fixing the Sprite3D library we want to hear from the 3D gurus
that it works correctly. Does it fix the problem with the racer game?
Thanks for testing!