Single surface particle system

Blitz3D Forums/Blitz3D Programming/Single surface particle system

poopla(Posted 2003) [#1]
I want to get a particle system ive coded to be single surface oriented. How do I go about doing this and still setting things up like alpha, texture, and then simple vertex manipulation to be able to make the particles face the camera, etc. Any help is greatly appreciated.


skidracer(Posted 2003) [#2]
You could check out my "smoke" demo in 3d code archives to get you started.


Gabriel(Posted 2003) [#3]
Birdie posted a function called TurnTriangle() in the code archives. That is perfect for the rotation of each particle.

The only obvious structural difference is that, instead of a spritehandle in your type fields, you'll need a triangle index ( or two if you're using two triangles per particle )

Alpha, I assume you can do with the extra parameter added to the VertexColor commands.

Animated textures will require a lot of playing around with UV coordinates.


poopla(Posted 2003) [#4]
Thanks guys.