Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Hexagonal point cloud

Author
Message
Neuro Fuzzy
16
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 6th Feb 2010 03:31
I wrote this a while ago after I took interest in a project Pincho Paxton was working on. It generates a screenfull of hexagons... cool, huh? It's easy generating the point cloud, but figuring out what to hook up to what had me stumped. Got it tho:



Not particularly usable as is.

The lag (press space to see it redrawing every frame, as well as another kinda kool effect) is because of the line function, no other code. replacing the line function with d3d_line brought me up to ~100 fps.


Login to post a reply

Server time is: 2024-03-28 15:14:17
Your offset time is: 2024-03-28 15:14:17