scroll screens transparency

Hi

Two questions :

generic :

Do anyone know if more than two scroll screens can be affected by transparency ?

sgl specific :

do anyone understand if this :

Code:
 slColorCalc(CC_RATE| CC_TOP |NBG0ON | NBG1ON );

is redundant with this :



Code:
slColorCalcOn(NBG1ON | NBG0ON );

(eg : why specifiy the affected bitmaps two times ?)

thanks
 
The 2nd question:

EDIT:The 2nd call is redundant, because:

Code:
#define CC_RATE     0

#define CC_TOP     0

I've implemented them in my SGL replacement, but looking at SL_DEF.H and SCROLL.TXT from SGL DOCs is enough to say this.
 
thanks

Originally posted by Rockin'-B@Fri, 2006-07-28 @ 01:05 PM

EDIT:The 2nd call is redundant, because:

Code:
#define CC_RATE     0

#define CC_TOP     0

[post=147298]Quoted post[/post]​


Sure, but I prefere defaults values to be explicit; the question was in fact about the difference between slColorCalc and slColorCalcOn.

SGL examples always makes color calculation on two scrolls screens. Do you know if it is possible to make it on more than two ?
 
Originally posted by vreuzon@Sat, 2006-07-29 @ 10:28 AM

thanks

Sure, but I prefere defaults values to be explicit; the question was in fact about the difference between slColorCalc and slColorCalcOn.

SGL examples always makes color calculation on two scrolls screens. Do you know if it is possible to make it on more than two ?

[post=147315]Quoted post[/post]​


Yeah, the VDP2 extended color calculation feature is for three background layers. It's described in page 236 of the VDP2 manual. The explanation doesn't make much sense, I'm just saying the hardware allows it. ;)
 
Back
Top