Path: chuka.playstation.co.uk!news From: "Matt Verran" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Texture Pages...er...what are they? Date: Tue, 13 Feb 2001 14:24:19 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 81 Message-ID: <96bg2i$k0d3@www.netyaroze-europe.com> References: <969fm2$7e2@www.netyaroze-europe.com> <969p36$bhl3@www.netyaroze-europe.com> <969s5f$bhl4@www.netyaroze-europe.com> <96bcjm$k0d1@www.netyaroze-europe.com> NNTP-Posting-Host: host62-7-20-252.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 the U value needs to be on an even number if the image you are loading is 8 bit, or divisable by 4 if you you are using 4-bit. The same applies to the width of the image. This is because the texture page works in 16bit by default so you cant specify location between the 16 bit boundary without weird results. Basically when you assign a sprite to a graphic in vid ram you just specify the texture page, the sprites U and V values say where on the texture page it is located and Height and Width designate it's size. I think all this is right :) MattV Tones wrote in message news:96bcjm$k0d1@www.netyaroze-europe.com... > Hi Pete, > > I vaguely remember that the U + V coordinates need to be on even numbers (or > was it just the U coordinate?) I can't quite recall (as I am just starting > up again), but I do remember mucking up my sprites when I used odd > alignments. > > Hope this helps - let me know if I'm correct! > > Cheers, > > Tones > > > > "Peter" wrote in message > news:969s5f$bhl4@www.netyaroze-europe.com... > > Cheers Matt, I remember that there were some rules about the alignment of > > sprites in these pages but I can't remember what they are. Could you > > enlighten me further. > > > > Much Hugz, Pete > > > > "Matt Verran" wrote in message > > news:969p36$bhl3@www.netyaroze-europe.com... > > > well basically they are the PSX videomemory. > > > > > > Theres 16x2 pages and each page is 64x256 16bit pixels big (or 128x256 > > 8bit > > > pixels or 256x256 4bit pixels). The texture pages are used to build the > > > current screen as well as store all your graphics. > > > > > > MattV > > > > > > Peter wrote in message > > > news:969fm2$7e2@www.netyaroze-europe.com... > > > > Hi Guyz, > > > > > > > > Its been a long long time since I coded for the little black...ahem... > > and > > > > I've totally forgotten what texture pages are all about. In fact the > > only > > > > thing that I can remember is that I need to know about them. > > > > > > > > Could someone take pity and jog an old man memory or let me know of > any > > > > useful links? > > > > > > > > Hugz, Peter > > > > > > > > > > > > > > > > > > > > > > > > > > > >