Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Customgui Splinecontrol

    SDK Help
    0
    2
    217
    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 31/07/2003 at 13:11, xxxxxxxx wrote:

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

      ---------
      It seems that the GetPoint and the GetPointFromX commands give the same unprecise values when reading a customgui splinecontrol. Even when I have a simple 2 point spline with knots at 0,0 and 1.0 I get values != 0.0 with that spline ( and not just little unprecisions. We are talking about values of 0.1 and above).
      I tried to push up the max iterations to 50 and MaxEps to 0.001, but I still get the same results. Any ideas, or is this a known behaviour?

      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 31/07/2003 at 13:45, xxxxxxxx wrote:

        Hi Arndt,
        hmm I haven´t tried it with your values but for example these settings I have used for one of my splinenodes:
        Real position = spline->GetPointFromX(interpolation,1000,0.001).y;
        I get very precise results.
        Hope that helps
        Best
        Samir

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