Loading a Texture to display with IMGUI

Problems building or running the engine, queries about how to use features etc.
Post Reply
Garibalde
Halfling
Posts: 69
Joined: Thu Apr 16, 2009 2:38 am
Location: Montreal, Quebec
x 2
Contact:

Loading a Texture to display with IMGUI

Post by Garibalde »

Hi

I am using IMGUI with Ogre. I would like to load a Jpg, png or other format into a IMGUI gui window for display.
I am not really familiar how to load an image in OGRE and carry this to IMGUI for display. It seems all loading
of images has to be done outside IMGUI. Once loaded use IMGUI::Addimage().

Does someone have some sample code how this can be done.

Thanks
Garibalde
VIRMED Simulation Technologies Inc.
http://www.virmed.com
Post Reply