CompuServe Thread

#3DSRENDER CUSTOM PALETE

2 messages in this thread
#161303From: Jon UnderwoodMar 28, 1995 10:01 AM
Has anyone managed to use a Windows system palette (i.e containing the 20 windows reservered colours, 10 at start, 10 at the end, plus the rest defined by you probably as a generic poster palette) as a 3d studio custom palette (.col) This would be relevent to anyone trying to develop multi-media type applications that run under Windows and use and 8-bit display card and want to display flics overlayed on bitmap images. I am confused by how 3d studio uses these .col files and hence can't seem to sort out his problem. If anyone can help I would be very greatful, I'm sure there must be loads of you out there who have done this already. Cheers! JON.U
#161322From: Brian Rudolph [Adesk]Mar 28, 1995 12:14 PM
Jon, 3DS does not use a Windows system palette directly, however you can recreate what the system palette would do with your custom palette. When creating or modifying your palette, out of the 256 colors, only use 236, leaving the first 10 and last 10 palette positions unused. These first and last 10 positions are the ones Windows will try to control when shifting palettes. If they are not used in the animation palette flashing and other video artifacts will be minimized. -Brian