View Full Version : link objects to particles
isaac 04-09-2004, 05:41 AM I don not know if it is realizable,but with this we can do a lot of things which reactor can not do or can make an easy way to simulate many complex effect,for example the cyclone destroy a house or something like that.
Is there anyone kind enough to write a script for this?
ThX:p
|
|
Originally posted by isaac
I don not know if it is realizable,but with this we can do a lot of things which reactor can not do or can make an easy way to simulate many complex effect,for example the cyclone destroy a house or something like that.
Is there anyone kind enough to write a script for this?
ThX:p
There are two possible approaches: "stealing" the mesh of the source objects and assigning to particles, or "baking" the particle motion to scene objects' animation.
The basics of the former are already documented in the MAXScript Online Help. ("Fragmentation Sample Script")
There are also flows out there showing how to "link" lights to particles, which show the latter.
We used both techniques in the Scooby Doo 2 movie to shatter the Tar Monster against the end of the "skatepark" sequence.
But you cannot write a universal script to do this, you have to write a couple of lines of code for every situation as the Script Operator / Birth Script are highly dependent on the names of the objects to be "linked" and the results you want.
What do you want to know more?
isaac
04-10-2004, 02:40 AM
BObo,thanks for your reply:) but i did not find the topic"fragmentation sample script"
in the online help:(.Can you just make a simple scene and post it here?If you have some spare time and it won't take you too much time.That would be much help.
Thanks again:)
Originally posted by isaac
BObo,thanks for your reply:) but i did not find the topic"fragmentation sample script"
in the online help:(.Can you just make a simple scene and post it here?If you have some spare time and it won't take you too much time.That would be much help.
Thanks again:)
While I am preparing it, take a look at
MAXScript Help > Contents Tab > MAXScript Extensions > MAXScript Extension for Particle Flow > Particle Flow Sample Scripts > Birth Scripts > Fragmentation Sample Script
It is rather complex, but lets you "abuse" a PArray to create the chunks for you and then animate them using familiar PFlow Operators...
Cheers,
Bobo
Originally posted by isaac
Can you just make a simple scene and post it here?If you have some spare time and it won't take you too much time.That would be much help.
Thanks again:)
Here it is:
http://www.scriptspot.com/bobo/mxs5/pflow/pflow__Chunks_Basics.htm
Ask here if you need more info.
Bobo
isaac
04-11-2004, 04:47 AM
good!That's what I want,really thanks:beer:
zhizhi
04-22-2004, 05:22 PM
:p real cool.
CGTalk Moderation
01-18-2006, 12:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.