flat assembler
Message board for the users of flat assembler.
Index
> Tutorials and Examples > Gradient color computation |
Author |
|
trolly 03 Oct 2013, 18:35
note: this code can do a gradient from 00 to FF, and from FF to 00 (for each canal independently)
|
|||
03 Oct 2013, 18:35 |
|
edfed 28 Oct 2013, 08:51
it can be optimised by computing the gradient with besenham algorithm, and putting this algo in a single function called for each color component.
|
|||
28 Oct 2013, 08:51 |
|
AsmGuru62 28 Oct 2013, 17:03
Is it possible for 'DrawLine' to take, say, 95% of the time in that function?
If yes, then why optimize the rest? |
|||
28 Oct 2013, 17:03 |
|
HaHaAnonymous 28 Oct 2013, 17:57
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 19:15; edited 1 time in total |
|||
28 Oct 2013, 17:57 |
|
AsmGuru62 28 Oct 2013, 18:28
I see... this is why some products never get done (3DRealms fiasco).
|
|||
28 Oct 2013, 18:28 |
|
typedef 29 Oct 2013, 18:30
Look up tables and or const values
|
|||
29 Oct 2013, 18:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.