Skip to content

miorsoft/VB6-3D-Flocking-Boids

Repository files navigation

VB6 3D Flocking Boids

demo Animation

3D swimming Fishes Implemented by Flocking Boids Algorithm

Author: "reexre" , AKA: MiorSoft, Roberto Mior

Interesting features included in source code:

  • OCTREE: OctTree class for 3D collision detection. Derived from reexre QuadTree Class for 2D collision.

  • QuickSort: A QuickSort Algorihm used for sorting fishes draw-order that can be used for other pourposes.

  • FastEXP: A fast approximation of EXP function perforemed by Pade approximant: https://en.wikipedia.org/wiki/Pad%C3%A9_approximant Useful for Gaussian Shapes.

  • 3DCamera: A module to transform 3D coordinates to 2D screen coordinates.

Requires:

VBFORUMS: http://www.vbforums.com/showthread.php?870755-3D-Swimming-Fish-Algorithm&p=5356531&viewfull=1#post5356531

GIF: https://media.giphy.com/media/dJRcmFdKd2ezVKjwrF/giphy.gif

Releases

No releases published

Packages

No packages published