Page 1 of 1

How to display an image in the screen

Posted: Tue Mar 29, 2005 10:21
by krithigal
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

Re: How to display an image in the screen

Posted: Wed Mar 30, 2005 08:32
by CrazyEddie
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.