| 1234567891011121314151617181920212223242526272829 |
- (*
- The fire special effect basic sample.
- If you look at the code you won't see anything fancy. The FireFX is a dynamic
- special effect (driven by a cadencer). Making use of it means two things :
- - dropping a FirexFXManager, this one controls fire particle systems aspects
- - adding a FireFX effect to the object you want to see burning (here, a sphere)
- You may have multiple objects sharing the same FireFXManager, this means they
- will all look the same, but also that the particle system calculations are
- made only once.
- This effect looks cool but is fill-rate hungry, but un-textured fillrate
- hungry, ie. video card memory bandwith is not an issue. Anyway, you can
- always make it look nice with smaller and/or less particles.
- *)
- program FireD;
- uses
- Forms,
- fFireD in 'fFireD.pas' {FormFire};
- {$R *.RES}
- begin
- Application.Initialize;
- Application.CreateForm(TFormFire, FormFire);
- Application.Run;
- end.
|