Qbasicnews.com
February 23, 2020, 07:36:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4]
  Print  
Author Topic: Triangle routine gone haywire  (Read 10516 times)
Ninkazu
Been there, done that
*****
Posts: 1169



WWW
« Reply #45 on: June 08, 2003, 01:59:33 PM »

Where can I find FATMAP? (too lazy to google; .....hmm, that should be another internet abbreviation....)
Logged

am an asshole. Get used to it.
Blitz
I hold this place together
*****
Posts: 853



WWW
« Reply #46 on: June 08, 2003, 02:09:17 PM »

Here you go you lazy bastard Smiley
http://www.programmersheaven.com/zone10/cat181/1881.htm

All you're really interested in is how to rasterize a triangle. The rest on optimized innerloops you can skip.
Logged

oship me and i will give you lots of guurrls and beeea
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #47 on: June 09, 2003, 12:54:11 AM »

Quote from: "Blitz"
ugh...
sometimes you guys make me wonder. First of all what's the point of optimizing such a routine in qb. No matter how much you try it will be greatly slowed down by the sub call of qb. And using 32 bit variables in qb? Thats really is nuts. And 3 divisions where in somecases only 2 are needed. I could go on a mile long list. But you dudes don't care anyway.


Well, you could tell Alan. As the fillers are his code. I just modified it to use Floats instead of longs. ;*)
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Blitz
I hold this place together
*****
Posts: 853



WWW
« Reply #48 on: June 09, 2003, 05:03:13 AM »

He wrote those are prototypes when he and i had a contest on making the fastest fillers. He ported it to asm later.
Logged

oship me and i will give you lots of guurrls and beeea
Pages: 1 2 3 [4]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!