ArchipelagoD.dpr 969 B

12345678910111213141516171819202122232425262728293031323334
  1. (*
  2. Archipelago GLScene advdemo.
  3. This advdemo illustrates several GLScene components:
  4. - TerrainRenderer, used with a material library
  5. - TerrainRenderer's OnHeightDataPostRender, used to render sea surface
  6. - HeightTileFileHDS, used as primary elevation datasource
  7. - CustomHDS, used to attach texturing information to the elevation samples
  8. - DirectOpenGL, used to render the sailboat's wake
  9. Note that both custom OpenGL rendering sections are interrelated, the sea
  10. surface rendering code also setups the stencil buffer, which is used by
  11. the wake rendering code.
  12. Eric Grange
  13. Credits:
  14. - Terrain elevation map and textures : Mattias Fagerlund
  15. - Sailboat model and textures : Daniel Polli
  16. *)
  17. program ArchipelagoD;
  18. uses
  19. Forms,
  20. fArchipelagoD in 'fArchipelagoD.pas' {Form1};
  21. {$R *.res}
  22. begin
  23. Application.Initialize;
  24. Application.Title := 'Archipelago';
  25. Application.CreateForm(TForm1, Form1);
  26. Application.Run;
  27. end.