Triangle to Square?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/07/2009 at 21:08, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R10-R11 
    Platform:   Windows  ;   Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    This is a more generic question but I've literally scoured the internet (and all of books and ACM) for days without finding an answer.

    I have a homography transform to convert a general quadrangle into a unit-square but it fails with triangles (even if considered as 'degenerate' quadrangles - all four points being used). A simple perspective transform probably won't work - it must be a Direct Linear Transform (projective most likely). I'm at a loss. One book had the 'diagram' showing the homography sought but was more directed towards curvilinear triangles to curvilinear quadrangles and the entire 'formula' for the 2D case was $(t) (where '$' is one of the Greek letters). Not much use without derivation.

    There is definitely a way to map a planar triangle to a planar quadrangle but any evidence of this evades me.


Log in to reply