paging teh digibob :poke:
would there be any performance advantage to changing CG_DrawString() to use polybuffers?
paging teh digibob :poke:
would there be any performance advantage to changing CG_DrawString() to use polybuffers?
AFAIK that has already been tried - but it proved to be impractical, since Polybuffer needs to be stored at 3-8 degrees Celsius in the dark:
we already do for other things
well, world -> screen
reverse shouldnt be hard? zinx already knows you have to setup a frustum for it too.
so answer the question dammit :moo:
You’ll likely get more of a performance hit from transforming them manually than you will gain from using the buffers in the first place.
EDIT:
I also have the feeling the near plane might do some wacky culling on you, not to mention the likelyhood of other sorting issues.
the whole point of polybufs was to try to avoid hitting the render limit with drawtext. eg the crash when you pull down both topshots and wstats at the same time.
you really think screen2world transforms will slow things down?
zinx already ran into sorting issues but sorted (pun!) most of them out i think 
Slower than the current system? Yes.
Noticably slower? Not likely.
So if you’re doing it to get around other “issues”, then i don’t see a problem, just be aware those buffers aren’t buffered internally, so you can only use each one once per frame.
the whole point of polybufs was to try to avoid hitting the render limit with drawtext. eg the crash when you pull down both topshots and wstats at the same time.
Render limit with drawtext? Care to elaborate?
(Btw, if you have any reproduction steps for that crash, I’d like to have them as I can’t manage to get it to occur here)
RR2D02 I think if you press alt for your stats and then tab to bring up everyones info it crashes or its alt for your info and then something else to bring up more facts
well, alt + tab in windows does try to minimise the game, which aint pretty 
ive never had the problem myself :S
I had…
Radeon 9700, 512, 2400XP
ALT + CTRL at the same time… or whatever buttons you have stats on 
Crashes ET if done often 
Does it require multiple people to be in the game, all with quite a few stats on their names?
I’ve only had it happen while playing online… so yes maybe.
I’ll try to make et crash without any other players on the server today 
yes, you have to be loaded up with weaponstats and players. basically it appears the engine runs into a hard limit on how many stretchipics it can render in a single frame. eg a lot of text.
fortunately wstats + topshots at the same time isnt something people do a lot.