inverse mapping
-
Hello, i managed to rotate a rectangle 45 degrees. Now i have an picture that i need to map to this reversed rectangle. I heard there is an inverse mapping way. Something about u and v. I am not familiar with it. Can someone tell me how to use this? thanks
-
Hello, i managed to rotate a rectangle 45 degrees. Now i have an picture that i need to map to this reversed rectangle. I heard there is an inverse mapping way. Something about u and v. I am not familiar with it. Can someone tell me how to use this? thanks
You've set yourself quite a difficult task. There isn't a normal windows "draw a bitmap using these four arbitrary corners" function. The nearest I can find is: Graphics::DrawImage, part of the GDI+ library. But it will take some learning to be able to use it from scratch. Good luck, Iain.
In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
-
Hello, i managed to rotate a rectangle 45 degrees. Now i have an picture that i need to map to this reversed rectangle. I heard there is an inverse mapping way. Something about u and v. I am not familiar with it. Can someone tell me how to use this? thanks
Luc Pattyn answered this question here: http://www.codeproject.com/script/Forums/View.aspx?fid=326859&select=2993859#xx2993859xx