Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-09-2008, 12:16 AM
TheStan TheStan is offline
Stan?
Join Date: May 2008
Location: U.S.
Posts: 100
TheStan is on a distinguished road
Send a message via AIM to TheStan Send a message via MSN to TheStan
Particle Engine: Couple Additions?

Having recently acquainted myself with the particle engine...I find that there are quite a few things that Graal's Developers would benefit from, pending them being added to the particle engine.
  • The first of which, and quite possible the most important, is that there should be some kind of event and/or notification of an individual particle being destroyed. I.E., onParticleDestroyed(atx, aty, atz), that way we can have a few functions for things like splash ganis where rain drops hit the ground maybe.
  • I've also been thinking sub-emitter functionality would be very useful for quite some time now. Allowing particles to emit other particles maybe very helpful when doing multiple emitters/particles for an effect.
Reply With Quote
  #2  
Old 08-09-2008, 12:29 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I told you on Valikorlia RC that you should have a separate emitter do splash ganis/images randomly or so.

Having an event for every particle destroyed, which could be many particles a frame, would lag more than a 0.05 timeout loop.

And for the sub-emitter, is it not possible to find the location of a TParticle and just have another emitter emit relative to it?
__________________
Reply With Quote
  #3  
Old 08-09-2008, 12:36 AM
DrakilorP2P DrakilorP2P is offline
Registered User
DrakilorP2P's Avatar
Join Date: Apr 2006
Posts: 755
DrakilorP2P is just really niceDrakilorP2P is just really nice
Try this:
Quote:
TParticle.emitter - object (read only) - for specifying the attributes of a sub-emitter
Reply With Quote
  #4  
Old 08-09-2008, 12:41 AM
TheStan TheStan is offline
Stan?
Join Date: May 2008
Location: U.S.
Posts: 100
TheStan is on a distinguished road
Send a message via AIM to TheStan Send a message via MSN to TheStan
Quote:
Originally Posted by Inverness View Post
I told you on Valikorlia RC that you should have a separate emitter do splash ganis/images randomly or so.

Having an event for every particle destroyed, which could be many particles a frame, would lag more than a 0.05 timeout loop.

And for the sub-emitter, is it not possible to find the location of a TParticle and just have another emitter emit relative to it?
Alas, I suppose that will be efficient enough. I was hoping for something a bit more accurate i.e. at the exact drop point, but alrighty then.

Quote:
Originally Posted by DrakilorP2P View Post
Try this:
I will make sure to do so.
Reply With Quote
  #5  
Old 08-09-2008, 12:42 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
There are dropemitter and dropwateremitter, those can be used to show rain drops, particles can also use ganis.
Reply With Quote
  #6  
Old 08-09-2008, 01:04 AM
TheStan TheStan is offline
Stan?
Join Date: May 2008
Location: U.S.
Posts: 100
TheStan is on a distinguished road
Send a message via AIM to TheStan Send a message via MSN to TheStan
Quote:
Originally Posted by Stefan View Post
There are dropemitter and dropwateremitter, those can be used to show rain drops, particles can also use ganis.
Forgive me but what do dropemitter and dropwateremitter actually do? o.o The wiki isn't clear.
Reply With Quote
  #7  
Old 09-02-2008, 01:17 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Well they emit particles on the spot where a particle is landing
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.