Quadrilateral Mesh

Hello,

As suggested in the docs (https://docs.coronalabs.com/guide/graphics/3D.html#quadrilateral-distortion), I am trying to make a mesh and transform it with the path-tool. When I follow the example on the docs, I can’t get a correctly clipped image.

Quadrilateral transformations shift the center of the image away from the actual center (which is fine because that’s how perspective works), but that way, I can’t get a mesh where the edges are corresponding to the next edge. (images 1 and 2)

In 3D programs, this is done with triangle transformations instead of rectangular transformations. The rectangle can be divided into two triangles on two axises (images 3 & 4). Is there any option to do this with Corona?

R6qolWB.png

You might have better luck with actual mesh objects, probably indexed ones.

Sorry for the late answer, this is exactly what I was looking for. Thank you so much!

You might have better luck with actual mesh objects, probably indexed ones.

Sorry for the late answer, this is exactly what I was looking for. Thank you so much!