Welcome Guest. Please Login or Register. Apr 5th, 2018, 10:48pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
I've been working on a new bitmap rotation routine for GFXLIB.
Despite still partially being in BASIC(!), this one is significantly faster than "my old one", and yet it's still very far from optimal. In fact, until I can get my Sutherland-Hodgman polygon clipper working properly, this routine will remain very inefficient.
EDIT (21/01/2012): Here's my attempt so far (using above YouTube video as a reference). It only runs at half the 'optimum' frame rate on my laptop (30 fps instead of 60 fps): http://www.bb4wgames.com/gfxlibdemos/progs/exe/donut2.zip
Bear in mind that the DarkBASIC program will have been compiled to native x86 machine code, whereas donut2.exe is still actually interpreted BASIC.