Solved

Transparency optimize

Posted on 1998-12-20
4
178 Views
Last Modified: 2010-04-16
Hey, I get very slow transparency - it's not so fast as I want to use in games
0
Comment
Question by:mitya83
  • 2
4 Comments
 
LVL 2

Expert Comment

by:omsec
ID: 1216641
what do you mean ?
0
 
LVL 4

Accepted Solution

by:
jack_p50 earned 0 total points
ID: 1216642
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
 

Author Comment

by:mitya83
ID: 1216643
Wow! I'm so stupid that didn't thank about it myself
0
 

Author Comment

by:mitya83
ID: 1216644
Wow! I'm so stupid that didn't thank about it myself
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question