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

    R10 UB only?

    Scheduled Pinned Locked Moved SDK Help
    10 Posts 0 Posters 754 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 07/11/2006 at 12:31, xxxxxxxx wrote:

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

      ---------
      Hi,

      I develop under windows. My plugins are running under R10 without any problems, but now I receive some mails from Mac users, who tell me, that the plugin doesn't appear in the plugins menu. So my question is: Doesn't R10 support xdl-plugins anymore? Even, if there is no Intel processor inside? Do those users have any possibility to run C4D in a kind of compatibility mode to use my plugins?

      Thanks for your answer.

      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/11/2006 at 13:58, xxxxxxxx wrote:

        R10 for Mac is UB only to the best of my knowledge.(dylib)

        Cheers
        Lennart

        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/11/2006 at 14:17, xxxxxxxx wrote:

          Yes, Lennart is correct. MacOS C4D R10 is Universal Binary only - no more PPC-CodeWarrior Classic target.

          There is a UB migration PDF document link on the front page of PluginCafe under "C4D Goes Universal Binary". You'll need at least XCode 2.2.1 and some stiff drinks to get through the migration process (unless your plugins are rather simple). 🙂

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

            Thank you.

            I've just compiled my plugins to ub with xcode. I tested it with the R10 demo on a ppc mac under MacOS 10.4 and it works. Now I've got a message from a user running R9.6 on a ppc mac, that the plugin won't appear in the plugins menu. Do I have to compile a further version under 9.6?

            When I compiled the dylib, xcode output some errors belonging to PolygonObject. This class would not support GetPoint() and GetPolygon(). So I took a look to one of the sdk examples and found, that e.g. RoundedTube uses GetPointW() and GetPolygonW(). Although I couldn't found these methods in the sdk docs, I changed my code in that way, and the compiling errors disappeared. Could that be the reason, that it will not run in 9.6? Have these methods really changed to ...W() ?

            Thanks again for your answers.

            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 11/11/2006 at 13:24, xxxxxxxx wrote:

              Yes. Plugins aren't backwards compatible - that is, you can't run a plugin compiled for R10 in anything R9.9 or less. They are, to some degree, forward compatible (there are still R7 (very few) and R8 plugins that work in R9 for instance).

              GetPointW(), GetPointR(), GetPolygonW() and GetPolygonR() (among others) are new in R10. There is no R10 SDK documentation yet - sadly. These are obvious (and verified by their returns). W = write, R = read-only. If you are only reading the point or polygon information, best to use the xxR() methods. If you are writing to them, you must use the xxW() methods.

              The best way to handle this so that you can use GetPoint() for pre-R10 and GetPointW/GetPointR for R10 is to use preprocessor directives:

              #ifdef C4D_R10
                 Vector* verts = polyObject->GetPointW();
              #else
                 Vector* verts = polyObject->GetPoint();
              #endif

              Then add C4D_R10 to the preprocessor directives of the R10 target and leave it out of other targets.

              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 14/11/2006 at 04:20, xxxxxxxx wrote:

                Thanks to you both. I think, I have to leave the gap not supporting R9.6 Intel, since I compile my mac versions with the c4d demos. And 9.6. is certainly not available as demo anymore. I hope, that Apple will keep this new standard a while...

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

                  If you need the MacOS demo of Cinema 4D R9.6, I have it. Know the feeling there - hard to support 'older' versions if you don't have them and the demos are no longer available.

                  Let me know and I'll send you a PM with the required information.

                  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 14/11/2006 at 22:30, xxxxxxxx wrote:

                    oh, that's great. Please send me the info. Thanks Robert.

                    BTW: Onother SDK 10 change I encountered belongs to RegisterObjectPlugin(). The parameter for the small icon doesn't exist anymore, isn't it?

                    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/11/2006 at 13:07, xxxxxxxx wrote:

                      PM sent! 🙂

                      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/11/2006 at 16:00, xxxxxxxx wrote:

                        Forgot to respond to your inquiry (busy, busy).

                        Yes, I've encountered several changed plugin Register...() methods. It is hoped that now that R10 is out the door, Maxon can get down to providing the R10 SDK documentation so we know what has changed and what has been deprecated.

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