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

    find Active Camera (Coffee or Xpresso)

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 278 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/12/2006 at 09:48, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:    Mac  ;  
      Language(s) :   C.O.F.F.E.E  ;   XPRESSO  ;

      ---------
      hi,

      Is it possible to find the active camera in coffee or xpresso ?

      i'd like to make a coffee or xpresso tag to set the visible_in_render button
      according to the active camera.

      -> a lot of possibilities !!!

      if for example i have 5 cameras in an architectural scene
      i could have 5 lightning sets which automatically switch on/off when i change the camera!
      the same for compostiting backgrounds (like sky on a plane) or object groups which are not visible and mustnt slow down the renderer.
      etx

      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 06/12/2006 at 14:55, xxxxxxxx wrote:

        Hi Zeorge,

        In COFFEE, you can use:

          
        var cam = doc->GetRenderBaseDraw()#BASEDRAW_DATA_CAMERA;  
        

        I'm not sure if there's a way to do it in Xpresso, other than a COFFEE node with the code above.

        HTH

        Rick

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