chris_c
Member
- Joined
- Jun 25, 2010
- Messages
- 393
- Age
- 56
I was glDraw(ing)Arrays(of)(GL_TRIANGLES on a thousand or so irregular triangles and struggling to get any decent speed at all, only just about 30+fps I was puzzled to say the least, I knew for a fact it could do better
Checked and double checked my object to data script and stride settings for DrawArrays etc... stumped!
Then by chance and I don't know why I decided to rescale the texture in blender - the simple texture was repeated several hundred times on each axis...
I rescaled the texture coordinates so there was more like 10 or 20 repeats per axis and the frame rate *more* than doubled
I was initially surprised that it has such an effect but after thinking about it I can see why, but for it to have *that* much impact does surprise me!
Now all I have to do is get my lazy arse together to turn my terrain tile triangle soups into tri-strips
Has anyone else discovered any similar properties of the SGX that you've actually discovered on the hardware (not just read theory about) ?
Checked and double checked my object to data script and stride settings for DrawArrays etc... stumped!
Then by chance and I don't know why I decided to rescale the texture in blender - the simple texture was repeated several hundred times on each axis...
I rescaled the texture coordinates so there was more like 10 or 20 repeats per axis and the frame rate *more* than doubled
I was initially surprised that it has such an effect but after thinking about it I can see why, but for it to have *that* much impact does surprise me!
Now all I have to do is get my lazy arse together to turn my terrain tile triangle soups into tri-strips
Has anyone else discovered any similar properties of the SGX that you've actually discovered on the hardware (not just read theory about) ?