Required Changes To Particles

3DS Max Plug-In SDK

Required Changes To Particles

See Also: What's New in the MAX 3.0 SDK, Required Changes to MAX 2.0 Plug-Ins for MAX 3.0.

New Particle Methods

New methods have been added to the SimpleParticle class to set the position, velocity and age for an individual particle:

void SetParticlePosition(TimeValue t, int i, Point3 pos);

void SetParticleVelocity(TimeValue t, int i, Point3 vel);

void SetParticleAge(TimeValue t, int i, TimeValue age);

Inter-Particle Collision

The 3ds max 3.0 SUPRPRTS particle systems support Inter Particle Collision (IPC). IPC is not built into the 3ds max core, or even into PARTICLE.DLL. Rather, it's implemented at a relatively high level in SUPRPRTS. Developers of particle systems that want to support IPC will have to implement their own IPC system using the 3ds max code as an example. Also, see the CheckCollision() method of Class CollisionObject which has two new parameter for IPC support.. The source code for SUPRPTRS is in the directory \MAXSDK\SAMPLES\OBJECTS\PARTICLES.