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

    New Spline Attribute

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 504 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 02/09/2011 at 06:55, xxxxxxxx wrote:

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

      ---------
      Howdy,

      Will plugins that use the spline description element need to be rewritten to accommodate the new one in R13?

      Adios,
      Cactus Dan

      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/09/2011 at 07:00, xxxxxxxx wrote:

        Unfortunatly yes. Old scenes will import in a compatibility mode.

        PS. I hope to get the R13 SDK docs up in the next two weeks.

        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 02/09/2011 at 08:26, xxxxxxxx wrote:

          Howdy,

          So plugins in R13 will need new .h, .res and .str resource files, plus different code in the .cpp file?

          I'm not sure I understand how the compatibility mode would work?

          Adios,
          Cactus Dan

          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/09/2011 at 08:55, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            So plugins in R13 will need new .h, .res and .str resource files, plus different code in the .cpp file?

            The resource files are still valid. There only seem to be some additional layout flags. The code has to be adjusted though, depending on what you are doing with the spline.

            I'm not sure I understand how the compatibility mode would work?

            It only means that old files don't break.

            This is what you get when you load an old file:

            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 02/09/2011 at 09:11, xxxxxxxx wrote:

              Howdy,

              Originally posted by xxxxxxxx

              ...The resource files are still valid. There only seem to be some additional layout flags. The code has to be adjusted though, depending on what you are doing with the spline...

              Well, can those flags be added in code and leave the .res files the same, then the .cpp file could contain:

              #if API_VERSION < 13000
              // older method
              #else
              // R13 method
              #endif
              

              ...It only means that old files don't break.

              This is what you get when you load an old file:

              ...

              OH, so the compatibility mode only applies to User Data splines?

              Adios,
              Cactus Dan

              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/09/2011 at 09:44, xxxxxxxx wrote:

                No. This compatibility mode locks every spline control of old files. If your spline control uses other values, i.e. another range than [0,1], you will have a problem, because R13 now works with absolute values defined in the res file ersp. set by SetRange(...). So if you have defined a range of 0 to 100 in your res file, the points of the spline curve remain between 0 and 1 all the same when you click on the control to remove the locking.

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