Gizmo.dpr 851 B

1234567891011121314151617181920212223242526272829303132
  1. {: GLGizmo component demo.
  2. Version History:
  3. 29/09/2007 - DaStr - Improved by Degiovani, Delauney, Mrqzzz and DaStr
  4. 21/07/2006 - arvidas - Initial version by Arvydas Juskevicius
  5. aka adirex [email protected]
  6. -------------------------------------------------------
  7. This demo shows the implementation of Gizmos like in 3D Studio Max.
  8. Gizmos are very useful when moving or rotating objects in 3D.
  9. Click an object to select it.
  10. Navigation:
  11. Change mode between moving and rotating
  12. Select one of the arrows or corners with mouse and drag it.
  13. Use mouse scroll to scroll the view.
  14. Right mouse button click and move to rotate the camera.
  15. }
  16. program Gizmo;
  17. uses
  18. Forms,
  19. fGizmo in 'fGizmo.pas' {FormGizmo};
  20. {$R *.res}
  21. Begin
  22. Application.Initialize;
  23. Application.CreateForm(TFormGizmo, FormGizmo);
  24. Application.Run;
  25. End.