Hey there!
I wanted to know if there's a way of getting Irrlicht to render, even when it's not in focus.
At least for me, I havent needed this before now, but I currently need the engine to keep rendering even when it's not in focus.
Any ideas? (Sorry if the solution is something simple, actually never tried this before and can't seem to find anything on google etc).
Getting Irrlicht to render even when not in focus.
Re: Getting Irrlicht to render even when not in focus.
Do you have a line like that in your code?
That's the check used in the example to only update when the window is active. So you can disable that (in case that was the problem).
Code: Select all
if (device->isWindowActive())
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Getting Irrlicht to render even when not in focus.
Sigh... yeah, figures I forget that lol. Thanks you can remove this thread.
Re: Getting Irrlicht to render even when not in focus.
Let's keep it, then the next guy googling for it can find something :-) (and don't worry, you're not the first who asked that)
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm