By Jim Sager, james_sager3@yahoo.com.
This is pretty confusing thing at first. You can easily see that the important code can be found in Simple2.cpp:
iTextureWrapper* txt = loader->LoadTexture ("spark", "/lib/std/spark.png", CS_TEXTURE_3D, txtmgr, true);
But how does this relate to stuff on your hard drive? You have no directory structure named lib/std under CS! Here's how: look in CS/data. Open the .ZIP file named: standard.zip. Inside that zip file, you'll find our culprit: spark.png inside! Cool cool cool; now you can go back and edit your code to say:
iTextureWrapper* txt = loader->LoadTexture ("spark", "/lib/std/raindrop.png", CS_TEXTURE_3D, txtmgr, true);
Compile and run, and you will see a different texture maped onto the sprite :) You can play around with other image files found in that .zip file too; they don't have to be .png. You can try snow.jpg or seagull.gif...sure, it doesn't look anything like snow or a seagull, but you can see it at least maps different textures. Also, you can add your own image files to the .zip file and use them.