Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: Perplexing question Date: Thu, 24 Apr 1997 02:25:02 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 34 Message-ID: <335EB66E.7858@micronetics.com> References: <335E7E32.30C9@micronetics.com> <335F32C4.354E@interactive.sony.com> <335E93E8.34DD@micronetics.com> <3364546e.2932502@news.playstation.co.uk> NNTP-Posting-Host: jim.micronetics.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.0b2 (Win95; I) X-Priority: 3 (Normal) Alex Amsel wrote: > > On Wed, 23 Apr 1997 23:57:44 +0100, Jim did > quoth at me: > > If you find out with GsLinkObject does exactly that would be most > helpful Jim :) I haven't run a timer over it though so I don't know > how long it takes to run (not long I shouldn't think). I'm doing > realtime TMDs with no problem either. Alex, From what I can tell, It just sets a count of primitives for each group. Presumably so GsSortObject does not need to read the mode, flag, ilen, olen for every primitive, just the first one. Presumably it [GsLinkObject] needs to scan the whole tmd to count the primitives, so it would be quicker to just increment the first nodes count every time you add a poly, rather than calling GsLinkObject each frame. > > I ran into problems with LinkObject when I INCREASED the number of > polys in the TMD data. I can't remember if this was fixed by recalling > LinkObject, but I don't think it was. In the end I just declared the > largest number of polygons possible the 1st time around. Did you put in null object in the primitive list to pad it to the correct size? Regards Jim