Single surface particle system
Blitz3D Forums/Blitz3D Programming/Single surface particle system
| ||
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. |
| ||
You could check out my "smoke" demo in 3d code archives to get you started. |
| ||
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. |
| ||
Thanks guys. |