OctreeD.dpr 543 B

1234567891011121314151617181920212223
  1. {: Octree raycast/mesh sample.
  2. Demonstrating how to find the intersection point between eye-screen ray
  3. and a high poly mesh with an Octree property.
  4. To see the performance difference:
  5. -move mouse around on the scene with octree disabled (default)
  6. -check the "octree enabled" box. Note the frame-rate difference.
  7. .
  8. }
  9. program OctreeD;
  10. uses
  11. Forms,
  12. fOctreeD in 'fOctreeD.pas' {FormOctreedemo};
  13. {$R *.res}
  14. begin
  15. Application.Initialize;
  16. Application.CreateForm(TFormOctreedemo, FormOctreedemo);
  17. Application.Run;
  18. end.