[V0020] [BTPL] Functions for a few special graph patterns

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
96 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 2, 2011

Special calculations/algorithms for a few special graph patterns with their graphic representations: Triangular, rectangular and hexagonal.
Almost all of those calculations work in O(n) time complexity. A bisection search was used for some algorithms.

Functions:
Red dots and offset area chunks and links: Display of the order of nodes and links with their order, which can be depended on, red dots are 2D samples for which a function yields the node that was hit

Left flat graphic: Selecting all adjacent nodes for a link; result order can be depended on

Right flat graphic: Selecting all adjacent links and their nodes for a node; result order can be depended on

The models can be mapped to any coordinate system easily and all work without unused, but with packed memory. The functions provided make an integration into any kind of interface or game map mechanism easy.

--------------------------------

Programming done in BTPL, display in the Iteration 10 OpenGL graphics engine

http://shrinker.beyond-veils.de/projects/IterationX/
http://shrinker.scottbaker.eu/projects/IterationX/ (mirror)

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more