THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/04/2010 at 13:07, xxxxxxxx wrote:
User Information:
Cinema 4D Version: r11
Platform:
Language(s) : C++ ;
---------
Hi,
i am trying to modify a spline but facing a problem while trying to just pass the point coordinates. so the result should look unchanged, right, but i am getting strange result (for example a circle is returned as a 4-leaves-flower)?
heres my code:
//get the spline
splineObj = (SplineObject* )userSpline->GetClone(COPY_NO_BITS, NULL);
padr = ToPoint(splineObj)->GetPointW();
pc = ToPoint(splineObj)->GetPointCount();
//cycle thru the points
for (int j=0;j<pc;j++)
{
ust = splineObj->GetSplinePoint(j,0,NULL);
padr[j] = ust;
}
another question i have is how i can access parametric splines as for now it only works with converted spline objects.
thanks for any input..
cheers,
ello