Solved

Transparency optimize

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Direct mail marketing is the act of mailing materials straight to prospective customers. This wide form of marketing is one of the oldest methods of communicating with a geographic based demographic. So is it useful in 2017 and beyond?
After-hours service is a fact of life for most MSPs. While not the most pleasant aspect of the job, there are ways to make after-hours servicing a more profitable and organized enterprise.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

679 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