It is currently 26 May 2013, 04:54

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: spawn from instances surface and not from particles centers
PostPosted: 28 Jun 2009, 08:24 
Offline

Joined: 11 Jun 2009, 11:57
Posts: 5
Does anyone know how to make particles to be spawn from the surfaces of a previous generation of instanced particles, and not from their centers?


Top
 Profile  
 
 Post subject: Re: spawn from instances surface and not from particles centers
PostPosted: 28 Jun 2009, 21:03 
Offline

Joined: 18 Jun 2009, 19:58
Posts: 66
Spawn from the surface of instances? Spawning from the surface of an instance is a 'non-trivial' problem. Although it should be possible it won't be easy, and would involve a pretty sophisticated approach. I have the need for this myself, but I just don't have a few days to tackle it.

In general I would identify the instance in question, generate a set of points on the surface of the instance's master, and then transform them to match the scale and orientation of the instance, with of course provision to inheriting velocity and initializing the usual particle attributes.

...Similarly, there's no "off the shelf" compound for spawning from the surface of, say, a spherical particle, although that's a much easier prospect... you can get the size of the particle you're emitting from and then offset the position of spawned particles by the radius of the sphere.


Top
 Profile  
 
 Post subject: Re: spawn from instances surface and not from particles centers
PostPosted: 29 Jun 2009, 03:18 
Offline
User avatar

Joined: 09 Jun 2009, 01:37
Posts: 82
Location: London
Hi,
I've played with this idea a bit too: http://www.xsibase.com/forum/index.php?board=34;action=display;threadid=39767;start=0#msg252627


Top
 Profile  
 
 Post subject: Re: spawn from instances surface and not from particles centers
PostPosted: 29 Jun 2009, 07:43 
Offline

Joined: 11 Jun 2009, 11:57
Posts: 5
Thanks guys!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group