Page 1 of 1

Multple Window Screens

Posted: Tue Feb 24, 2004 1:42 am
by two_bits
Hi everyone, is it possible to use the openwindowedscreen multiple times on different windows in the same program?
Basically Im writing an editor to test a simple ray casting engine, and i would like to draw the 2d veiw to one window and the 3d view to another.
Many thanks
James

Posted: Tue Feb 24, 2004 2:36 am
by Shannara
Hmm, I know that directx 9 has a native function to call in order to do the multiple "view ports". However, correct me if I am wrong, but PB's OpenScreen and OpenWindowedScreen uses directx 7. The reason I am assuming that is because in the docs, it states "Directx7 and up"... thus DX7 for windows is the lowest reqs. I believe it is possible to do so in DirectX7 and VB as I have seen it done before.. but I do not know if PB "natively" supports such a thing. However, you should be able to do so via the DirectX DLLs.

Posted: Tue Feb 24, 2004 2:46 am
by two_bits
OK then, thanks for that
James