[sldev] Patch for sculpted prims (llvolume.cpp)

Dirk Moerenhout blakar at gmail.com
Fri May 25 11:50:35 PDT 2007


Patch has 2 reasons:
- Performance: Seperate the loops that define the vertices for the
cases there is and isn't data. The previous code was not as efficient
even though compiler optimisations and CPU branch prediction do
mitigate the issues somewhat.
- Bug fix: When using a 32x32 texture you lose the last line of
vertices from your texture as it will render the pole when you're at
y-1 and at y.

Future plans:
- Regain the vertices from the first line instead of simply replacing
them with the pole
- Create more suitable poles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvolume.cpp.patch
Type: application/octet-stream
Size: 3276 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070525/3b869e8c/llvolume.cpp.obj


More information about the SLDev mailing list