Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: To big model?! Date: Fri, 07 Aug 1998 09:38:09 +0100 Organization: Sony Computer Entertainment Europe Lines: 34 Message-ID: <35CABCF1.5994BFD0@scee.sony.co.uk> References: <35C9F2AD.6A85120F@hi.is> NNTP-Posting-Host: mailgate.scee.sony.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5b1 [en] (Win95; I) X-Accept-Language: en Ari Pall Albertsson wrote: > > I wrote a program that can view 3d models, but when I try to import a big > model (more than 3000 polys) I always get the error: > > GPU CODE 80H not assigned. > > (repeated over and over again) > > anyone know what that is? and what is wrong? There are two possible problems - firstly, your packet creation area (the buffer you set every frame with GsSetWorkBase() ) is not large enough. Roughly speaking, a single flat shaded textured model will take up a maximum of 32*NUM_POLYGONS bytes in the packet area. If this area isn't big enough, you can get some strange GPU code errors as one buffer overflows into another. Secondly, due to a bug in the libraries, a few TMD primitives don't work. These are: o 3D sprites (sprites within a TMD) o Lines within a TMD o Double sided polygons o Non-textured Gouraud (gradient) quads There might be a couple of variations on the last item there - there are a couple of threads on this problem in this newsgroup. If I can compile a definitive list, I'll put it in the programming FAQ. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe Remember, Subaru spelled backwards is U-R-A-BUS.