IntensityMesh.dpr 973 B

123456789101112131415161718192021222324252627282930
  1. (* Shows how to use 1D palettes to visualize "intensity" on a mesh.
  2. Typical application is interactive representation of FEA (Finite Element
  3. Analysis), the palette texture can be used with discrete colors
  4. (use "nearest" filtering) or continuous colors (use "linear" filtering).
  5. Palette scale and offset can then be adjusted via texture scaling/off.
  6. Representation uses a simple multipass shader to overlay the model's
  7. wireframe using smoothed lines.
  8. Sample Data represents the Von Mises Stress (usually is used to predict
  9. steel yielding) over the structure of a tubular tower for electrical
  10. power lines. That stress is the result of the loads from cables,
  11. transversal wind and self weigth.
  12. (Sample Data contributed by Carlos Ferreira)
  13. *)
  14. program IntensityMesh;
  15. uses
  16. Forms,
  17. fIntensityMesh in 'fIntensityMesh.pas' {Form1};
  18. {$R *.res}
  19. begin
  20. Application.Initialize;
  21. Application.CreateForm(TForm1, Form1);
  22. Application.Run;
  23. end.