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
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.
raw vertices in random order? definitely.
cache optimized index lists? not really, probably worse in fact.
i had cache optimized index lists in mind
just needed the time to find back tom forsyth's article
just needed the time to find back tom forsyth's article
Nvidia's tristrip lib is quite okay to avoid worst-case scenarios.
That said also read this.
thank you guys for your replies, i'll study them
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... :)
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... :)
how can i optimize strip-tease?
@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
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
nosfe: the megahawks way - take your shorts off, fun in the sun
Quote:
how can i optimize strip-tease?
It's called pr0n.