Lost Adventurer, Aleks Kirilenko (3D)
LC #42 Pipers Alley

View Full Version : move vertexes!!

04-21-2009, 01:20 PM
I want to make the modifiy plug-in that moves spline.
Is it possible to move vertexes by the use of "SetKnot" method?
Could somebody tell me how this can be done ?
Is there any other way to achieve this?

SplineShape *ss = (SplineShape*)os->obj;
BezierShape &shape = ss->shape;

int I_SScount = shape.splineCount;
Point3 p;

for (int i=0; i<I_SScount; i++)
for (int t=0; t<shape.GetTotalKnots(); t++)
p = p*3;

CGTalk Moderation
04-21-2009, 01:20 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.