<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
If you are wanting to make one yourself I recommend creating a TextureManager which has a map of texture ids.<div>My texture map looks like this: map<string, unsigned int> textures; </div><div>You use the string which is the file name to call the texture when you are loading it and you can use an iterator to go through the map if you want to perform a function on everything in the map.<br><div><br></div><div>This will allow you to create a button that calls TextureManager::reloadTextures() which would systematically delete the textures from opengl, and then load them again. </div><div><br></div><div>This is how I have set mine up in a University assignment I'm working on (Creating a Game Engine).</div><div><br></div><div>Hope this helps.<br><br>> Date: Mon, 4 Apr 2011 09:12:21 +0800<br>> From: steven.daniel.webb@gmail.com<br>> To: pigmi@pigmi.org<br>> Subject: [PIGMI] Texturing software<br>> <br>> After lurking for several years on the pigmi list I'm finally making my <br>> first game, although it's a very slow process due to the number of <br>> things to learn.<br>> <br>> I've started playing with textures in OpenGL, and I'm wondering what <br>> tools people use to create textures for their models. To save time I <br>> don't want to restart up my game every time I change a texture. I was <br>> thinking about creating them using the gimp, and then having some sort <br>> of rendering software running on a second monitor that will re-render <br>> every time the file is updated. Does anything like this exist already? <br>> Is there a better way? Blender?<br>> <br>> I'm a linux user so I would prefer to stick with Free/OSS software since <br>> that will make installation easier; however, I'm happy to pay for good <br>> tools if they are worth it.<br>> <br>> Any related or unrelated comments or suggestions welcome :)<br>> <br>> Cheers.<br>> <br>> Steve.<br>> _______________________________________________<br>> PIGMI mailing list - http://pigmi.org/ - pigmi@pigmi.org<br>> Unsubscribe: http://lists.pigmi.org/listinfo.cgi/pigmi-pigmi.org<br></div></div>                                        </body>
</html>