Description: From: http://clootie.narod.ru/delphi/download_custom.html
ParticleSystem1 - unidirectional generator sample
Main idea of this sample was to demonstrate right and wrong ways of generating uniform distribution of unit length vectors - so end-points formed by these vectors forms sphere surface. But in process of providing visual feedback for user some other interesting techniques appeared.
I try to list them below (in advanced - beginner order):
Vertex shader assembler code for particle systems with particle size calculation.
Stencil buffer / matrix operations for mirror rendering.
Various frame buffer blending modes.
Rendering graphs with with transformed and lit vertices.
Usage of DrawPrimitiveUP D3DDevice method (for graph rendering).
To Search:
File list (Check if you may need any files):
WinMain.res
winmain.rc
flare2.bmp
ParticleSystem1Unit.pas
ParticleSystem1.dpr
ParticleSystem1.vsh
ParticleSystem1.exe