I've been experimenting for a few days and it's just fantastic!!!!
I'm using the engine with a Win32 window I've created. The first question I have is how to redraw the irrlicht viewport while dragging the Window,
since I've noticed such things kind of stop the thread, likewise for when you throw a message box pop up for example.
The worst part is that if you move the window past the edge of the screen and come back the viewport gets dirty and it looks real bad.
I tried calling my render routine from within wndproc in a couple of spots, but the program crashes
Code: Select all
case WM_WINDOWPOSCHANGING:
//irrlicht_update();
break;
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
irrlicht_update();
EndPaint(hWnd, &ps);
break;
Thanks!