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

    Render resolution

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 408 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 01/06/2006 at 07:34, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.6 
      Platform:   Windows  ;   
      Language(s) :

      ---------
      I would like to change the render resolution through an input in my PostEffect Plugin, but GetActiveDocument()->GetActiveRenderData()->GetData()->SetLong(RDATA_XRES,value) doesn't change the resolution.

      An idea for me ?

      Thanks in advance,

      Vincent

      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 02/06/2006 at 16:01, xxxxxxxx wrote:

        You have to set RDATA_RESOLUTION to 0 (manual), or to one of the other values if you want to pick a preset resolution.

        - Rick

        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 09/06/2006 at 02:20, xxxxxxxx wrote:

          Hi Rick,

          I'm doing that in the method GetDParameter of my plugin, I call like that:

          rdata.SetLong(RDATA_RESOLUTION,0);
          rdata.SetLong(RDATA_XRES,m_DisplayImageWidth);

          but it doesn't work too. Should I do that somewhere else ?

          Thanks lot !

          Vincent

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

            Oh, looks like you're in C++ - I haven't played with this there. Sorry.

            This COFFEE works for me, if that helps:

              
            var rd = doc->GetFirstRenderData();  
            var bc = rd->GetContainer();  
            bc->SetData(RDATA_RESOLUTION,6);  
            bc->SetData(RDATA_XRES,720);  
            bc->SetData(RDATA_YRES,486);  
            bc->SetData(RDATA_XPIX,10);  
            bc->SetData(RDATA_YPIX,11);  
            bc->SetData(RDATA_FRAMERATE,30);  
            rd->SetContainer(bc);  
            
            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 15/06/2006 at 22:50, xxxxxxxx wrote:

              To make the call like that you would have to do GetActiveDocument()->GetActiveRenderData()->GetData Instance ()->SetLong(RDATA_XRES,value), otherwise the changes are lost.

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