Notifications
Clear all

[Closed] Particle emmiter problem

I use this code for render animated sequence of growing tree (i use an other script to turn 3DS sequence into MAX sequence)

x=10
while x<100 do (
	x=x+1
	slidertime=x
	print currentTime
	tx = currentTime as string + ".max"
	mergeMAXFile  (tx as string)  #deleteOldDups #useSceneMtlDups #alwaysReparent
	FRtime=currentTime.frame
	$PArray01.emitter = $b3
	$PArray02.emitter = $b3b
	render outputfile: ("d:/" + x as string + ".tga")
)

3DS sequence was done in XFrog, but i want to create my own leafs.
I’v created PArray sources that use brunches as emitters.
The problem is that new geometry for my tree loads in every new frame and my particle leafs jumps from point to point in chaotic way.
I understand that the reason is inconstant number of polygons in the tree geometry.

Now i try to find the way to minimize the effect of jumping leafs.
Will be beholden for any advice.
And more concrete question is how to assign emitter object for ParticleFlow through MAXscript?