Drawing triangles with Corona

Hello,

I am flash programmer and my employer wants me to use Corona for developing our new iPad project. I think I won’t have problems with LUA language, but I am not sure if there are enough graphical functions I can use.

In this project, let’s say, I will draw a train track in circular shape (or any other curve). I have this track image only as a rectangular pattern.

Normally, I would make a straight “triangle belt” made of vertices and corresponding texture coordinates, “curve” this belt (vertex coordinates) to my curve and graphic processor would interpolate texture coordinates.

Is there any way to do this in Corona? I don’t want to use short pieces of pattern and just give them different rotation. Is there any way to non-linearly transform the bitmap, or ability to set any coordinates for its 4 corners? [import]uid: 134146 topic_id: 23203 reply_id: 323203[/import]