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

    Discarding a pixel [SOLVED]

    SDK Help
    0
    3
    273
    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

      On 06/09/2014 at 16:06, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R13 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hello,

      I'm making a custom camera to render fisheye images.
      All the frames will be square, with the actual content on a circle fitting the square.
      I don't need anything outside of the circle, 27% of the image will be ignored.
      I'm paint them all black on ExecutePixel(), but the renderer have already done it's job on them.
      Is there a way to tell the renderer not to process those pixels? Would save me 27% of render time!

      btw, can I expect my plugin compiled with R13 SDK on OS X 10.9.4 to be compatible with R14 and above?

      Thanks,
      Roger

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

        On 07/09/2014 at 02:25, xxxxxxxx wrote:

        Originally posted by xxxxxxxx

        <ADDRESS>
        User Information:
        Cinema 4D Version:   R13 
        Platform:     
        Mac OSX  ; 
        Language(s) :    
        C++  ;

        ---------
        </ADDRESS> Hello,[...] btw, can I expect my plugin compiled with R13 SDK on OS X 10.9.4 to be compatible with R14 and above?</span>
        Thanks,
        Roger

        If you're using the R13.061 SDK and the appropriate Xcode version (3.26, 4.0x, 4.1.x) : yes - though I don't know if those Xcode versions are running on OS X 10.9 without hick-ups. If you're using a newer Xcode version you'll have to adapt the R13 SDK on your own to the new compiler settings.

        Keep an eye on the symbol stripping changes Apple did in Xcode which can cause a lot of trouble. For more information see: https://developers.maxon.net/forum/topic/6572/7115_symbol-stripping-on-os-x

        Best regards,

        Wilfried

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

          On 07/09/2014 at 09:32, xxxxxxxx wrote:

          Originally posted by xxxxxxxx

          Is there a way to tell the renderer not to process those pixels? Would save me 27% of render time!

          Afaik you can't.

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