Advertisement

[OGRE] TextureManager::load() with absolute path?

Started by June 29, 2011 07:58 PM
0 comments, last by Waaayoff 13 years, 5 months ago
[color=#333333]I am trying to load a texture from a file which is not inside any declared resource loacation, and I use TextureManager::load() for that. However, I noticed that it only works fine if I specify a relative path to my texture image. Whenever I specify an absolute path, I get a FileNotFoundException telling me that Ogre could not locate the file in any of its resource groups.
"Spending your life waiting for the messiah to come save the world is like waiting around for the straight piece to come in Tetris...even if it comes, by that time you've accumulated a mountain of shit so high that you're fucked no matter what you do. "
Solved!

http://www.ogre3d.org/tikiwiki/Loading+Image+from+Disk&structure=Cookbook
"Spending your life waiting for the messiah to come save the world is like waiting around for the straight piece to come in Tetris...even if it comes, by that time you've accumulated a mountain of shit so high that you're fucked no matter what you do. "

This topic is closed to new replies.

Advertisement