Text displays but not images

HTAPAWASO

28-12-2013 06:35:49

Only just started started with MyGUI.

I have copied the Picking demo into my project for testing purposes, the problem is that while text displays fine (for example, if I hover over the top-left corner, the tooltip pops up), images do not show at all. The butterfly, the help icon, and the cursor are not there. I am injecting input and MyGUI does know where the mouse is supposed to be, it just doesn't display.

What am I doing wrong?

Thanks.

EDIT: And yes, I copied the image files required by the demo into a location accessible by my program.

Altren

28-12-2013 12:48:39

Check MyGUI logs. I guess that MyGUI can't find textures, that are supposed to be in "General" resource group by default. Otherwise you need to specify resource group name in MyGUI::OgrePlatform initialisation.
http://www.ogre3d.org/tikiwiki/tiki-ind ... =MyGUI+FAQ - read second question in FAQ.

HTAPAWASO

29-12-2013 02:25:52

Oh you are correct, I had the path in the wrong section of the resources file.

Thanks.