  | | | multiple sprites on one particle type | multiple sprites on one particle type 2004-04-19 - By Keith Fallon
Back Hi Gerbrand... I did something similar for a crowd-sim. Take your master particle, add a new event; right click to inspect [make it trigger based on distance (eg: X Position; also turn it to "emit"] and click "create" under "Source". Repeat this until you have as many particles as you want then change each of the new particles' render properties to sprite and link in your rgbs. Take a null and give it an X positional expression like this: RAND( 12, 1, 15 ) where 12 is a seed and 15 is the number of new particle triggers you've created. Then set an expression on the "Mute" parameter for each of the PEvents with something like: 1 - null.kine.global.posx [PEvent1] 2 - null.kine.global.posx [PEvent2] 3 - null.kine.global.posx [PEvent3] 4 - null.kine.global.posx [PEvent4] 5 - null.kine.global.posx [PEvent5] ... 15 - null.kine.global.posx [PEvent15] This will control which particle gets released at that given point in distance that you set earlier. Hope this gets you there. Keith
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of gerbrand Sent: 06 April 2004 12:26 To: XSI@(protected) Subject: multiple sprites on one particle type
I would like to link multiple sprites to one particle type, or make one event emit multiple particle types at random. anny ideas??, Thanx Gerbrand
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>Hi Gerbrand...</FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>I did something similar for a crowd-sim. Take your master particle, add a new event; right click to inspect [make it trigger based on distance (eg: X Position; also turn it to "emit"] and click "create" under "Source".</FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2 >Repeat this until you have as many particles as you want then change each of the new particles' render properties to sprite and link in your rgbs.</FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>Take a null and give it an X positional expression like this: <FONT size=2><STRONG>RAND( 12, 1, 15 )</STRONG> where 12 is a seed and 15 is the number of new particle triggers you've created. Then set an expression on the "Mute" parameter for each of the PEvents with something like:</FONT></FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>1 - null.kine.global.posx [PEvent1] <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>2 - null.kine.global.posx [PEvent2] <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>3 - null.kine.global.posx [PEvent3] <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>4 - null.kine.global.posx [PEvent4] <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>5 - null.kine.global.posx [PEvent5]</FONT></SPAN></DIV></FONT></SPAN></DIV></FONT></SPAN></DIV></FONT>< /SPAN></DIV></FONT></SPAN></DIV></FONT></SPAN><SPAN class=656151909-19042004></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>...</FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>15 - null.kine.global.posx [PEvent15]</FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>This will control which particle gets released at that given point in distance that you set earlier.</FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>Hope this gets you there.</FONT></SPAN></DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656151909-19042004><FONT face=Arial color=#0000ff size=2>Keith</FONT></SPAN></SPAN><SPAN class=656151909-19042004><B></DIV></DIV> <P><FONT size=2><SPAN class=656151909-19042004></SPAN></FONT> </P></B></SPAN> <DIV><SPAN class=656151909-19042004></SPAN> </DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>gerbrand<BR><B>Sent:</B> 06 April 2004 12:26<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> multiple sprites on one particle type<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2>I would like to link multiple sprites to one particle type, or make one event emit multiple particle types at random. anny ideas??, </FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Thanx</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Gerbrand</FONT></DIV></BLOCKQUOTE></BODY></HTML>
|
|
 |