[sldev] possible rendering improvement
Stef Wade
Stef.Wade at stots.de
Tue Jan 16 00:04:05 PST 2007
die_angel schrieb:
> [...]
> A lot of attachments use llSetAlpha to show/hide accessories, and the
> way it work currently make it so even of somzething is fully "invisible"
> it is still rendered. (or am i wrong?)
Without looking at the code, it is probably a question about what's more
expensive: Checking _every_ surface's alpha-setting or rendering
invisible surfaces. (Maybe we should take a walk through the grid with a
modified client that counts surfaces...)
Checking for Alpha would put load on the CPU, unneccessary rendering put
load on the GPU.
Stefan
--
http://LinuxBasics.org http://Krone-Neuenburg.com
http://Stefan.Waidele.info http://sl.stots.de/blog
More information about the SLDev
mailing list