How to display an image in the screen

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
krithigal
Not too shy to talk
Not too shy to talk
Posts: 40
Joined: Wed Jan 12, 2005 12:06

How to display an image in the screen

Postby krithigal » Tue Mar 29, 2005 10:21

I need to load an image from a file and

display it in screen. Earlier I was using

CreateTexture() and getOgreTexture() to

displkay the image. But now in 0.2.0 release

this does not work.


Also let me knwo how to convert the CEGUI

texture to ogre texture pointer.


Can you pl. provide me a code snippet for the

solution?



regards
krithiga

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: How to display an image in the screen

Postby CrazyEddie » Wed Mar 30, 2005 08:32

All of this should still work; nothing relating to any of this was changed in the Ogre GUI renderer for 0.2.0. The only thing that happened was that the renderer source was moved - all the old methods for accessing the textures etc, are still in there though.

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 2 guests