Roberto, I was studying Irrlicht example 14 in the irrlicht examples folder. I think it holds the key to allowing us to use irrlicht and tbgl together.
We can just set device to render in opengl. I was going to tinker with it, but I figured why waste time and just ask.
He uses:
HWND hIrrlichtWindow = CreateWindow("BUTTON", "", WS_CHILD | WS_VISIBLE | BS_OWNERDRAW,
50, 80, 400, 400, hWnd, NULL, hInstance, NULL);
This opens the opengl device there. I also changed Button to Static as there is a static control too in there, it worked the same.
But if you and Petr can get his hWnd = TBGL_CreateWindowEx ( Caption, XRes, YRes, BitDepth, FullscreenFlag ) to send to the handle of the irrlicht child window on a form, or to full screen irrlicht window, then we could use tbgl with irrlicht.
Irrlicht has so much built in, it from a wide variety of file format support to all the tools available and examples. Tie that in with tbgl and we have it all.
I was trying to figure it out with your thinBasic Irrlicht Hello World and his example 14, but I think it should be doable and probably not hard for you.
Thanks pretty exciting stuff I think
Bookmarks