RE: [Algorithms] Tri strips over tri list???
Brought to you by:
vexxed72
From: Tyson J. <twj...@sa...> - 2002-11-18 20:00:39
|
As mentioned, degenerate tris to merge lists are your friend. And, as mentioned, for PSX2 you don't need to care. There is no perfect answer to the more generic question, "How long should I search for a good stripping solution to a given arbitrary mesh." The kludgy answer is to keep trying until the artists start whining about how long the exporter takes and then back off. ;) Seriously, you can make it an adjustable parameter so the really critical stuff you get to try 100+ possible stripping solutions and pick the best, everything else just gets patched together. (Each iteration trys a different set of input numbers and then you have to write a "goodness" function to determine how many cache misses you get. MS gives sample code to do this.) Now you get the question of "what are good input parameters to my stripper?" That's a big can of worms and I'd suggest finding some of the heavy-hitting research before making a final decision about that. -----Original Message----- From: gda...@li... [mailto:gda...@li...] On Behalf Of Nguyen Binh Sent: Sunday, November 17, 2002 11:26 PM To: Developer-only Forum for DirectX programming issues; Gdalgorithms-List; Pierre Terdiman Subject: [Algorithms] Tri strips over tri list??? Hi , I have a problem when stripping my tri list: 1. It's fine when I get just one strip for the whole mesh. But on a random mesh, hardly can I get such result. Maybe the result looks like this : Mesh contains 5 tri strips with tris number: 2000, 100, 50, 20 , 10 When render it, I may get a worse result than render it as one bunch of tri list because I had so many "bad" tri strips that contains only small number of tris and it kills many cycles of the driver to update. So I came across an idea : When my strip contains lesser of tris than a number, say N then I will reput it in a tri list.So , my result will be a list of tri strips that contains a "resonable" number of tris (>= N) and a tri list. My question is: what is the resonable value for N? If thte answer depends on video card then I just like to know the value for a generic Geforce2 MX card. Thanks very much. -- Best regards, --------------------------------------------------------------------- Nguyen Binh Software Engineer Glass Egg Digital Media Me Linh Point Tower, 10th Floor 2 Ngo Duc Ke District 1, Ho Chi Minh City Vietnam Fax: (84.8)823-8392 www.glassegg.com --------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ GDAlgorithms-list mailing list GDA...@li... https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=6188 |