Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scea.yaroze.programming.2d_graphics Subject: Re: screen fades? Date: Mon, 10 Nov 1997 10:25:49 +1300 Organization: Peace Computers NZ Ltd Lines: 31 Message-ID: <34662A5D.3F54@peace.co.nz> References: <63oq1s$gqf1@scea> <63oubo$gqf2@scea> <34601444.167E@peace.co.nz> <640k5b$855@scea> NNTP-Posting-Host: intro.peace.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (X11; I; IRIX 6.2 IP22) Pete Rizzuto wrote: > > >A better way would be to have the CLUT in memory, then upload it every frame > >(you'd have to have some sort of triple CLUT buffering scheme), and adjust > >the CLUT directly. This would give you a smoother fade, but it's quite a bit > >more work. > > how do the 'pros' do it? it's not clear to me why updating the clut each > frame would look any different... has anyone tried both methods? I haven't tried the CLUT upload method - it's just an old trick I used to get smoother fades on the Amiga, which only had an RGB resolution of 4 bits per colour. Using the CLUT to fade can get you smoother fades if you don't bring down the R,G and B at the same time. I would reduce the red in the first frame, the green in the second, the blue in the third, the red in the fourth, etc. It's not as necessary in the Yaroze because the colour resolution is better. But I have seen 'jerks' when fading in an image while simultaneously fading in a semi-transparent image that's on top. Cheers, J -- ==PEACE COMPUTERS ==James.Russell@peace.co.nz - 64(9)3730400 -Fax 64(9)3730401 "Go to Red Alert." "Are you absolutely sure, sir? It'll mean changing the bulb."