Solved

Transparency optimize

Posted on 1998-12-20
4
177 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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