Simple Image load and draw - How to?

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
aloknarula
Gnoblar
Posts: 8
Joined: Mon Dec 20, 2004 8:00 am
Contact:

Simple Image load and draw - How to?

Post by aloknarula »

Anybody pls guide me how to simply load a image (suppose .jpg) and draw on screen by passing the coordinates.

I am using Ogre 0.15.1 and lookat Image class but there is no drawing function.

Thanx in advance
alok
User avatar
bana
Greenskin
Posts: 132
Joined: Mon Aug 02, 2004 7:40 am
Location: Austin, Texas
Contact:

Post by bana »

You are probably looking for overlays
An overlay is a container for visual components (2D and 3D) which will be rendered after the main scene in order to composite heads-up-displays, menus or other layers on top of the contents of the scene.
Otherwise you would need to attach the image to a polygon as a texture AFAIK.

HTH
A proud member of the OpenFrag Coding Team.
http://coolhands.blogspot.com/
Post Reply