Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: mperdue@iquest.net (Mario Perdue) Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Transparency Date: Fri, 27 Jun 1997 15:14:30 GMT Organization: SCEA Net Yaroze News Lines: 26 Message-ID: <33b3d732.973417@205.149.189.29> References: <01bc82d8$1bfacf60$4db113cc@nsantos> NNTP-Posting-Host: firewall.hrtc.net X-Newsreader: Forte Free Agent 1.1/32.230 Nelson, I had the same problem with a program I'm working on. When you make an object translucent, you can't just set the MSB and go on your merry way. The transparent parts of the object need to have a color value of 0x0000, not 0x8000. This was easy for me to fix because I don't use TIM files. Instead I use my own IMG files created with TGA2IMG. These files contain the C source for the image and are included in the build. All I needed to do was edit the bad data and recompile. I've got to remember to fix the converter sometime soon. Mario On 27 Jun 1997 05:51:45 GMT, "Nelson Santos" wrote: >Regarding transparent colors: > >Maybe I missed something in the manuals but how do we display a sprite >where it's background color (normally color 0, black) is transparent? >Whenever I display sprites and they pass over each other, I see the black >unmasked background overlapping each other. > >Nelson. >