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

    Render camera

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 273 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 06/10/2010 at 02:17, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5/12 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hello all,
      i have a problem on my videopost plugin.
      i use videopost to export current document and send scene to an external renderer.
      i need to export all camera in the scene and "mark" the active camera.
      now i am making a recursion in real document and if i find a camera i export it and after i check if is the current render camera with:
      if ( mycam == bd->GetSceneCamera(Mydoc)) exporter.setscenecamera(mycam)
      where my cam is the BaseObject i am exporting.
      but my cam and bd->GetSceneCamera(Mydoc) have alwaise 2 differentpointer, and my plugin don't work 😞
      why this ?
      is the scene camera from basedraw internaly cloned?
      if yes is there a way to have a link to original camera object from the doument?

      thanks in advance
      Franz

      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 07/10/2010 at 02:07, xxxxxxxx wrote:

        From where do you get mycam? Where in the code do you compare the cameras and where do you get the Basedraw from?

        In a video post effect you can access the camera through the VolumeData (if it is avaible). VolumeData::GetRayCamera. RayCamera has also a link to the real camera, RayCamera::link.

        cheers,
        Matthias

        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 07/10/2010 at 05:52, xxxxxxxx wrote:

          thanks 🙂
          i solved... my mistake i was get the cameras from 2 different document

          Bets
          Franz

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