Static Background

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Charles
Posts: 8
Joined: Tue Apr 28, 2015 10:35 pm

Static Background

Post by Charles »

Hi,
I am using Irrlicht to draw mesh from an another application with the drawIndexedTriangleList function.
Now that everything is working well, I would like to add a Background ( from a png ) to my application.
But I didn't found an easy way to do it. I don't want to use Sky-Box because I don't want my background change with camera movements.
Do you have any idee of functions I could use ?

ps : I am working on android
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Static Background

Post by CuteAlien »

Draw it before the drawAll call of the scenemanager (but after beginScene). For example with IVideoDriver::draw2DImage.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply