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