Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Triangle to Square?

    Scheduled Pinned Locked Moved SDK Help
    1 Posts 0 Posters 119 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post