Taking over the blitz window...

Blitz3D Forums/Blitz3D Programming/Taking over the blitz window...

poopla(Posted 2004) [#1]
I would like to try to take over control of rendering in the blitz window. Any tips on how? I assume I have to free the device and rendering contexts and create new ones for GL to map to?


poopla(Posted 2004) [#2]
NM, I've got a solid idea of what I have to do now. But feel free to gab about the subject, especially if your interrested in this at all. I will help if I can.


poopla(Posted 2004) [#3]
Well I've managed to hijack the window and get GL running but the window dissapears immediately :).


poopla(Posted 2004) [#4]
Nm, I got it working. This is some really cool stuff! Fun to play with.


Neochrome(Posted 2004) [#5]
hmm, this sounds like a great idea... Have you got any code for it?


poopla(Posted 2004) [#6]
It's the same thing drago and otacon have done essentially.


Neochrome(Posted 2004) [#7]
Drago and otacon? hmm, any links?


Drago(Posted 2004) [#8]
Depends on if you are doing it in blitz+ or blitz3D. There are a couple more steps involved with blitz3D.

All you really need is the HWND of the blitz window then you can do whatever you want, override it message function even, which isn't that good idea since then all the Keyboard functions wont work.


If you want some code just ask.