On 15/04/2014 at 11:55, xxxxxxxx wrote:
So in my development of my python plugin I have the following code.
self.sd = c4d.SplineData()
self.sd.MakeLinearSplineBezier(3)
self.sd.SetRound(1.0)
self.sd.SetRange(xmin=0, xmax=1, xsteps=.1, ymin=0, ymax=1, ysteps=.1)
self.sd.SetKnot(index=0, vPos= c4d.Vector(0,0, 0))
self.sd.SetKnot(index=1, vPos= c4d.Vector(.50,1, 0))
self.sd.SetKnot(index=2, vPos= c4d.Vector(1,0, 0))
This creates a linear graph representation, I am looking more for a graph representation that looks like
y= 2 - (-x)^2
I guess more of a curve.
Any help would be much appreciated.
Jimmy