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

    REAL precision?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 223 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 25/12/2012 at 20:16, xxxxxxxx wrote:

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

      ---------
      Why is it that the REAL description element (did not check the GeDialog.AddEditNumber()) cannot accept and/or truncates decimal precision to only 5 places (and only displays up to 3)?  I'm working with morph delta values which must remain more precise and the returned value from the elements is no smaller than 0.00001 - even if I type in a value like 0.0000001.  For most purposes, this is okay.  For precision, this can lead to frustration.  You use an LReal by default (e.g.: BaseContainer.GetReal()), so why the limit of 5 instead of 10?

      Could I suggest a new description element LREAL (or PREAL for 'Precise') that shows either a larger number of decimal places or a user-set number thereof and retains the precision capable of the LReal (double float)?

      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 26/12/2012 at 01:35, xxxxxxxx wrote:

        There was a customgui written for higher precision numbers a while back, I've got the link somewhere... yes, here: https://developers.maxon.net/forum/topic/4682/4507_higher-precision-real-customgui

        I haven't tried it myself, so I don't know if it would be of use to you.

        Steve

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