Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: "Pradip K Fatehpuria" Newsgroups: scea.yaroze.programming,scea.yaroze.beginners Subject: Re: Question about Survival code. Date: 3 Nov 1997 19:33:42 GMT Organization: SCEA Lines: 29 Message-ID: <01bce890$e2b86040$c24331a2@p.fatehpuria> References: NNTP-Posting-Host: 206.41.6.40 X-Newsreader: Microsoft Internet News 4.70.1161 This functions sets the polygon division flags in the GsDOBJ2 structures for an object which gets close to a wall or a slab. This is done to avoid the wrong z sort on polygons from two different objects. This approach did not give the results I wanted. A safer approach to proper sorting of polygons from different objects would be to use separate OTs for the whole objects and somehow sort the OTs in the main OT before we do the drawing. I hope this answers your question. Pradip -- Pradip K Fatehpuria Senior Software Development Engineer Sony Computer Entertainment of America Robb Thomas wrote in article ... > > I've been looking through the code for the Survival Demo and > I can't figure out what the function HandlePolyDivision() > in main.c does. Can someone explain why it is needed and how > it works? > > --Robb Thomas >