I made this tool to have option visually set textures to a object. (its actually part of my level editor but may be useful for beginners -as i had problems to have textures to a object few days ago)
With this tool you can load model into scene and texture it..
Level editor itself at current state:
https://www.youtube.com/watch?v=yQCQGyd6deI
after that you can save it and it will generate code that you can put into your code to load model with textures you set.
(code will be created into media folder with name YourModel_texturer.txt -all models and textures used must be in media folder.
i tryed to make it fully automatic..but sometimes object textures was not found -so i kept it all manual.