Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: "Nelson Santos" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Transparency Date: 30 Jun 1997 12:22:00 GMT Organization: SCEA Net Yaroze News Lines: 35 Message-ID: <01bc856a$1f392e80$0eb113cc@nsantos> References: <01bc82d8$1bfacf60$4db113cc@nsantos> <33b3d732.973417@205.149.189.29> NNTP-Posting-Host: ppp-annex-0904.mtl.total.net X-Newsreader: Microsoft Internet News 4.70.1155 MSB? What's MSB? The strange thing is, when I look closely at my sprites overlapping one another, I see that certain colors are transparent, but not the colors I expected. Out of a palette of 256 colors (in a CLUT), I think color # 205 was transparent as well as # 220 or something like that, instead of using the standard color #0 for transparency. Are you saying that the converter is badly converting my sprites? Wasn't this utility tested? It seems like a pretty serious bug when you got an ugly black rectangle around all of your sprites. I'm surprised this went unnoticed for so long. I'm not yet familiar enough with the image format on the Yaroze, so using IMG files would put more time into my project. I hope you can fix that bug soon! It would really help me out. Thanks! Mario Perdue wrote in article <33b3d732.973417@205.149.189.29>... > 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