PDA

View Full Version : Particle emmiter problem


rj3d
06-13-2008, 09:05 PM
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? :)

CGTalk Moderation
06-13-2008, 09:05 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.