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

    Splines for deformers?

    SDK Help
    0
    6
    496
    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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 04/03/2004 at 05:08, xxxxxxxx wrote:

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

      ---------
      a splineobject is passed as a lineobject to the ModifyObject function. Is there a fast way to receive the corresponding splineobject from this lineobject or do I need to get it manually?
      Thanks

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 04/03/2004 at 05:12, xxxxxxxx wrote:

        Ok, I get the original splineobject from the modifier->Getup(). Works fine. But if there is a more convenient way (that is faster than getting the parent of the modifier) I would be glad to know.
        Thx

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 06/03/2004 at 05:04, xxxxxxxx wrote:

          Have you verified that GetUp() is really a bottleneck in your code?

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 06/03/2004 at 05:10, xxxxxxxx wrote:

            What does bottleneck mean? (the translation I know for it doesn´t make sense 🙂

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 06/03/2004 at 05:19, xxxxxxxx wrote:

              Bottleneck in the figurative sense, i.e. the narrowest part of the bottle that limits the rate that you can drink the liquid. The programming meaning is the part of your code that slows down the rest. For example, any code in the inner loop is a good candidate for being the bottleneck, while anything that's only executed once is less likely. GetUp() sounds like it should be a fairly fast function, so I wondered what you meant by "faster than getting the parent of the modifier".

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

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 06/03/2004 at 09:31, xxxxxxxx wrote:

                Ah thanks for the explanation. Well, I meant IF there is a function, for example if there is a convenience function to get the original spline from the lineobject that is passed to the ModifyObject function.
                like op->GetSpline() or something (this is imaginary but I wondered if there is a function like this, though I couldn´t find anything in the docs)
                But your answer lets me conclude that there is none.
                Thanks

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