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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    FOV calculation

    SDK Help
    0
    4
    509
    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
      Helper
      last edited by

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

      On 27/05/2003 at 13:13, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   6.3 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      How is the FOV field calculated in Cinema? I need it for the RIB exporter Im making. Up until now I have just been using the default 53.13, but now I need to knowhow to calculate this field. Thanks.
       
      Matt

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

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

        On 28/05/2003 at 00:07, xxxxxxxx wrote:

        This is pretty easy to derive if you draw an isosceles triangle where the base is the aperture width and the height is the focal length. Then the angle opposite to the base is the FOV.
        So the FOV is 2 * arctan((aperture / 2) / focal).

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

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

          On 09/02/2008 at 04:56, xxxxxxxx wrote:

          And what if I want to set a camera's FOV?

          Can I just put a value into CAMERAOBJECT_FOV?

          Thanks for tips!

          [edit]Hm, I just tried. Since CAMERAOBJECT_FOV is only virtual, setting a value here doesn't do anything.
          But I really have to set the FocalLength according to a specific FOV value. How does this work?[/edit]

          Greetings,
          Jack

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

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

            On 09/02/2008 at 05:14, xxxxxxxx wrote:

            Ooohh, stupid. Just found something that may work:

            Another nice topic in plugin café

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