Solved

Transparency optimize

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on close dbExpress with datasnap 5 560
Youtube stream inside Delphi 1 1,490
ADO Memory leak with DELPHI 2007 37 170
searching for DavidI's "Mobile Summer School download" 3 128
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now