Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: mperdue@l4software.com (Mario Perdue) Newsgroups: scea.yaroze.beginners Subject: Re: errr GsBG anyone? Date: Fri, 21 Nov 1997 03:31:46 GMT Organization: L4 Software Lines: 30 Message-ID: <3474ffd3.13053073@205.149.189.29> References: <347139B5.446B9B3D@whc.net> <3471af40.2351567@205.149.189.29> <3474E1F3.7543@charlie.cns.iit.edu> NNTP-Posting-Host: firewall.hrtc.net X-Newsreader: Forte Free Agent 1.11/32.235 On Thu, 20 Nov 1997 19:20:51 -0600, Ed Federmeyer wrote: >[snip] > >I can't seem to make my background "clip" properly. I've tried all the >GsSetClip() type functions (my manual isn't handy right now), and they >all seem to clip *everything* or *nothing*. What I want, is to set the >clipping window, do my "GsSortSprite()" calls to get my background >sprites on the screen drawn (clipped smaller then the screen), then >return the clipping window back to the default full screen so I can put >more stuff on the screen, like a border around the tiled background. > >The only way clipping seems to work is if it is on when you do your >GsDrawOT() call, then *everything* gets clipped. > >Is there a way to set the clipping window so it only takes effect during >the "Sort" phase? > Ed, Clipping is a function of drawing, so it doesn't have any effect while sorting the sprites. I don't know of any way around this. If you're going to have a border, why not just draw the background sprites on a 'layer' that is behind everything else? Mario