Re: Rotated square in space



IT'S SOLVED!!! ;)
I did it, actually it was a case o perspective mapping square to
quadrangle, not very easy to find on web, or even understand, but that
works like a charm... ;)
Here is the doc where I got the formulas and explanation:
http://www-2.cs.cmu.edu/~ph/869/www/notes/proj/proj.pdf
I already implemented it as a C# class, I optimized the code a bit, it
still can get faster, I just broke some equations into separate parts,
and create some variables for reused expressions, if anyone wants that,
please let me know...

Luiz Borges

.


Quantcast