wayfinder Posted November 3, 2014 Share Posted November 3, 2014 Hi there! I modified the code from pixi's rope object to allow mapping an arbitrary convex quadrilateral UV area to an arbitrary convex quadrilateral screen area, by splitting all of it into triangles and using affine transformations on them. This works well, except for miniscule gaps between quads which I cannot seem to get rid of: These gaps do not seem to appear between the triangles that make up the quads, only between quads. I've tried drawing with a large overdraw value but it doesn't help. If I expand just the screen triangles and not the UV coordinates, the stuff ends up in the wrong place, and if I expand the UV coords along with the screeen coords, it looks exactly as if I never changed anything Does anybody have an idea on what to do? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.