Path: chuka.playstation.co.uk!news From: alex@teeth.demon.co.uk (Alex Amsel) Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: Texture Wrapping Date: Fri, 08 Aug 1997 15:37:58 GMT Organization: Into Beyond Lines: 39 Message-ID: <33ed3a3c.10475734@news.playstation.co.uk> References: <33E7381E.E55C5787@micronetics.com> <33E84C2C.6C25@interactive.sony.com> <33E8560F.BD1E57C1@micronetics.com> <33E87B2B.4F6A@interactive.sony.com> Reply-To: alex@teeth.demon.co.uk NNTP-Posting-Host: teeth.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent .99g/32.335 On Wed, 06 Aug 1997 14:25:00 +0100, Developer Support did quoth at me: >OK, I've been playing around, and if you set the RECT GsDRAWENV.tw to a >window within the texture page you'll get a repeating texture eg >setRECT(&GsDRAWENV.tw,0,0,64,64) assuming your texture is in the top >left of the texture window). But you'll have to change it back when >drawing other stuff. But unfortunately you don't know when your poly will be drawn - you can guess approximately and search through the OT, but that is all I think. I'd be interested if you have any better ideas though. >Yes, there is a speed difference. For a texture of the same size 4 bit >is fastest, 8 bit is next fastest, and 16 bit is slowest. This is simply >due to the caching. And also the gpu(?) can read more pixel data from vram for 4 bit textures etc (4 pixels/word as opposed to 1 for 16 bit). >Yes, if you can draw all the polys with one type of texture together >you'll get a better cache hit, hence a speed up. And yes again, only a >32x32 16bit texture will fit in the cache and you'd see a big increase >in speed if you changed to this size. For 8bit 32x64 will fit in the >cache and for 4bit 64x64. Hadn't realised you could use 32x32 but it does make sense doesn't it! Live and learn :) Regards, Alex Amsel + Tuna Technologies + Windows 95/NT, Console and Internet + + The PC/PS-X Game Tools and Game Development Specialists + + Flibbley flobble wab tiggle sa lable ly pibbley Obblers +