Hi, there are scripts which generate splines of particle paths,
but how do i generate a spline between particle positions?
making a spline out of one frame of particle positions?
here is some starting information we could use, i just dont know how to assemble it:
--------------------------------Creating shapes-----------------------------
for i in 1 to numParts do
(
newShp = splineShape()
addNewSpline newShp
newShp.name = (shNm + i as string)
allShps += #(newShp)
)--end For
-------------------Adding Knots to Splines at specified intervals-------------
for t in fStrt to (fEnd/incr) do-- the "to" number here defines the multiplier or total number of knots
(
sliderTime = (t * incr)--sets the sliderTime multiplied by above number
for i in 1 to numParts do
(
pf.particleIndex = i
pId = pf.particleID
if pId != 0 then
(
pfShp = execute ("$'" + shNm + pId as string + "'")
addKnot pfShp 1 #smooth #curve pf.particlePosition
)--End If
)
)--End For
guess we need to create a spline by adding a knot for each pf.particleID at its pf.particlePosition (in one frame)
-pf.particleIndex = i
-pId = pf.particleID
-addKnot pfShp 1 #smooth #curve pf.particlePosition
*********************
i want to convert each particle into a spline knot so i can connect them anyway i want
By W DIGITAL · 2010-02-14
Anubis · 2010-02-15