REAL precision?



  • 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)?



  • 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://plugincafe.maxon.net/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


Log in to reply