vbovio
05-22-2007, 02:12 PM
Hi,
I'm writing an application where I display texts as textured quads, currently the user selects any number of items (for example points) and I create a texture for every item on the selection and display them each frame. The question is, could it be better if instead of creating a lot of small textures, create just a few big ones (perhaps with the max texture size value) and map each text to it's corresponding texture and it's rectangle bound coords ???..
I believe at least the creation time should be less, but is it worth it to change it ??.. I think I heard also that texture bind was somewhat expensive too..
Thanks.
I'm writing an application where I display texts as textured quads, currently the user selects any number of items (for example points) and I create a texture for every item on the selection and display them each frame. The question is, could it be better if instead of creating a lot of small textures, create just a few big ones (perhaps with the max texture size value) and map each text to it's corresponding texture and it's rectangle bound coords ???..
I believe at least the creation time should be less, but is it worth it to change it ??.. I think I heard also that texture bind was somewhat expensive too..
Thanks.