I have 5000 CD covers stored as JPEG's on my hard drive.
I want to:
1. Create a quad for each CD
2. Load the CD Cover
3. Apply to Quad
4. Repeat for 5000 albums.
I am creating a quad, with 1 surface for each album. I use "LoadTexture", and "EntityTexture" to texture the quad.
After about 500 albums I am using 600MB of memory !!!!!
Can anyone suggest a good method to do this.
I was thinking of loading 16 covers (256x256 in size), creating one surface 2048x2048) and apply a single surface method for every 16 albums, or is they a way to get the memory down?
Thanks for any help
I want to:
1. Create a quad for each CD
2. Load the CD Cover
3. Apply to Quad
4. Repeat for 5000 albums.
I am creating a quad, with 1 surface for each album. I use "LoadTexture", and "EntityTexture" to texture the quad.
After about 500 albums I am using 600MB of memory !!!!!
Can anyone suggest a good method to do this.
I was thinking of loading 16 covers (256x256 in size), creating one surface 2048x2048) and apply a single surface method for every 16 albums, or is they a way to get the memory down?
Thanks for any help