Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Adding camera calibration lines by script?

    Cinema 4D SDK
    2
    3
    445
    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.
    • CairynC
      Cairyn
      last edited by

      Hello; something else for the day...

      I cannot find documentation on the camera calibration tag. There is the list of parameters, but it does not contain a description of the format of the lines that you normally add manually, or the spatial relationship of the lines in the scene (I suppose they are just xy positions as they need to be relative to the image).

      How would I go ahead in adding lines to the calibration tag (assuming I have a method to identify a proper line in a picture)?

      I'm not yet sure whether this is actually desirable (ultimately I could do the calibration externally without the tag at all) but I wonder if it is theoretically feasible, or whether the API simply doesn't support it (I can't find anything in the Python or C++ docs).

      Thanks!

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @Cairyn unfortunately there is no API for this functionality.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • CairynC
          Cairyn
          last edited by

          ok, thanks for the confirmation!

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