Title: RE: [JAVA3D] Geom ByRef and Geom Updater examples?

Thanks,  taking a gander now.

I'm really amazing at something though; I hadn't looked at the J3D's particle code before today (I like to see how much I can figure out on my own before looking elsewhere), and I'm happy about something. 

My own particle system, while very simple and incomplete as of now, almost exactly mirrors the way the one in the J3D codebase is setup except for a few minor differences, and uses some of the very same methods I use: a managing behavior (mine is EffectsManager) that keeps a list of ParticleSystems (mine is ParticleEffect), handles adding/removing particle systems.  And the PhysicsFunction is just what I planned to setup for handle various types of particle effects (smoke, fire, explosions, buffing, fountain, waterfall,  etc).

After a couple months of head-banging, I've wound up using this approach for almost everything in my project (scenery, avatars, particles, NPC entities)--a "managing" behavior that handles loading/animation/removal of whatever. (I posted yesterday about needing to move the particle emitter creation to a separate thread).

I'm wondering if other people working on the bigger projects have taken the same approach.  I know David Y. tries to use one big wakeonelapsedframes(0) thread to handle things, which is similar in theory, just a bit different in implementation.

If so, it seems like this knowledge could speed things along for those new to J3D and retained mode programming.  My previous experience was with immediate mode Direct3D programming, and retained mode takes a different approach altogether.

Scott

-----Original Message-----
From: Daniel Selman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 9:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Geom ByRef and Geom Updater examples?


Scott,

Also check out my particle system code in the J3D.ORG CVS repository. Plenty
of BY_REF stuff in there...

Sincerely,

Daniel Selman
Author - "Java 3D Programming"
http://www.manning.com/selman

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Smith, Daniel
Sent: Wednesday, May 08, 2002 10:56 AM
To: [EMAIL PROTECTED]
Subject: Geom ByRef and Geom Updater examples?


Looking for good, not over-worked examples of by-reference geometry and/or
geometry updater behaviors...  Need to dive into those, and my brain is
hitting a brick wall for some reason, and can't find a good place to
start...
Scott

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to