[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Transparency optimize

Hey, I get very slow transparency - it's not so fast as I want to use in games
0
mitya83
Asked:
mitya83
  • 2
1 Solution
 
omsecCommented:
what do you mean ?
0
 
jack_p50Commented:
he means his prev. q about transparency. you must 1st create a color-conversion-table. for r,g,b are 0..63 it should be like array[0..63,0..63,0..63], but in xms-memory(i gave you this unit). then you fill it with closest_color(r,g,b) and then save to file. you will get a triple speed using this table and not closest_color in your program, however, you should generate such a table (256 KB) for each palette you want.
0
 
mitya83Author Commented:
Wow! I'm so stupid that didn't thank about it myself
0
 
mitya83Author Commented:
Wow! I'm so stupid that didn't thank about it myself
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now