pouët.net

Go to bottom

STRIP optimalization code

category: general [glöplog]
 
I would like to "organize" my models polygons to "STRIPS" order, I badly need memory save and kinda speedup whole engine, does anybody of you know any good algorithm or better could point me at some tools probably with source code too? Thanks muuuch
added on the 2009-09-06 10:05:51 by lilibox lilibox
does stripifying meshes really improve speed nowadays?
compared to what?
raw vertices in random order? definitely.
cache optimized index lists? not really, probably worse in fact.
added on the 2009-09-06 13:34:13 by 216 216
i had cache optimized index lists in mind
just needed the time to find back tom forsyth's article
Nvidia's tristrip lib is quite okay to avoid worst-case scenarios.
added on the 2009-09-06 13:58:54 by hfr hfr
That said also read this.
added on the 2009-09-06 14:02:34 by hfr hfr
thank you guys for your replies, i'll study them
added on the 2009-09-06 16:24:40 by lilibox lilibox
Repeat post of the Forsyth paper because it's just THAT good

Avoid using triangle strips. The metric you want to optimize against is "vertices shaded per triangle" anyway, and vertex cache optimization gets you down to some 0.7 or 0.9 actually shaded vertices per poly while using tristrips lands you at 2.0 or 2.2 (numbers derived from all the meshes I had to convert in the last 10 years of my life). Also, the overhead from having to use degenerate triangles to restart the strips isn't worth the hassle.

(Then again, one of the three current gen consoles lacks a post transform vertex cache but can restart triangle strips in no time, so if that's your preferred platform... :)
added on the 2009-09-06 16:52:13 by kb_ kb_
how can i optimize strip-tease?
added on the 2009-09-06 17:02:28 by nosfe nosfe
@nosfe: here is simply rule, do not swap showing gay/girl strip-tease performance during one day .. :-)

btw: i doubt you ever seen any such real "thing in natura", in Finland is too cold to anything such, and in sauna there is not such joy from continuous wearing off dresses :-) j/k
added on the 2009-09-06 18:51:05 by lilibox lilibox
nosfe: the megahawks way - take your shorts off, fun in the sun
added on the 2009-09-06 19:44:51 by superplek superplek
Quote:
how can i optimize strip-tease?

It's called pr0n.
added on the 2009-09-07 00:08:38 by xernobyl xernobyl

login

Go to top