UK
Joined: May 3, 2010
Post Count: 223
Status:
Offline
Reading a texture from a plugin
Hi,
Been trying an idea, for something I want to implement, and it works well, it requires loading an image to be used as a texture.
This is where I run in to the problem.
Can read the texture without problems from my desktop, which is okay for me. The trouble I'm having is, reading the texture from a "resources" folder located with the class files in the plugin.
Tried looking through many the Sweet Home scr files, where images are loaded for texture and icons, to try and learn how to do this, also read many articles on the the Internet. Still failing to read the texture from within the plugin though!
Thought it might help explaining what I've tried. Used the second method (replaced with the path to my desktop) to successfully read the texture.
Thank you in advance for any help offered! It's really frustrating having lots of ideas, getting stuck and feeling bad asking for help, when should be able to work it out.