You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
Hello, I'm using Irrlicht in a Win32 window to use as a renderer in an existing project however I've come across this strange problem where Irrlicht does not render strictly in the window's client area but rather seems to render underneath the titlebar and window frame. Anybody else ever encounter this and know how to get around it?
I'm creating an Irrlicht device object using a window handle given to me by SDL. It seems somebody else encountered something vaguely similar. The code I'm using for creating the Irrlicht device can be found here.
Screenshot of the window itself:
Screenshot taken by Irrlicht (via IVideoDriver::createScreenShot):
Humm, interesting (the top of the image mostly), What i'm seeing there look like a "bug" on the way the Image is saved from the createScreenshot, it take the whole context (your WIN32 windows) while your IRRlicht content doest have the top and bottom bar (used by the window). I don't think using this would work.
Check the RTT examples from the SDK. I think a RTT camera could make a proper screenshot.