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
    • Register
    • Login

    Cameras Target Distance

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 607 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 23/08/2005 at 03:29, xxxxxxxx wrote:

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

      ---------
      Whats the proper method for retrieving
      the cameras target distance?

      The CameraObject only provides zoom, aperture etc.
      and the camera don't has a target point
      attached by tag.

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

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

        On 23/08/2005 at 03:57, xxxxxxxx wrote:

        I've found out that RayCamera with [Real middle]
        contains the information.

        VolumeData has
        "RayCamera* GetRayCamera(void);"

        But how to get the VolumeData?

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

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

          On 23/08/2005 at 08:49, xxxxxxxx wrote:

          Don't get me wrong, I don't need code,
          just a hint for the direction in the
          class structure.

          Is VolumeData an overall structure in
          the scene or does every object contain
          this? Is there something like obj->getVolumeData()?

          For any help
          Thanks in advance!

          Sascha

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

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

            On 24/08/2005 at 03:30, xxxxxxxx wrote:

            I don't know much about it ...
            But when I'm browsing for Render ...
            I found that Render class has a member function namely GetInitialVolumeData and it returns VolumeData ..

            With all my respects
            ZawMinTun

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

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

              On 24/08/2005 at 05:31, xxxxxxxx wrote:

              I've seen this method too, but since I'm
              using a single CPU machine, don't know
              if it works. I'll test with cpu = 0...

              Thanks

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

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

                On 25/08/2005 at 01:07, xxxxxxxx wrote:

                Its base (BaseVolumeData) is used by the render to hold data about the currently traced ray. VolumeData has lots of useful functions in it. If you want to get the to cameras tags then use GetRayCamera, this returns the rendering camera (RayCamera) and from here you have 'link' which points to the original camera object.

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