Multple Window Screens

Just starting out? Need help? Post your questions and find answers here.
two_bits
User
User
Posts: 15
Joined: Sat Oct 04, 2003 6:52 pm

Multple Window Screens

Post 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
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post 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.
two_bits
User
User
Posts: 15
Joined: Sat Oct 04, 2003 6:52 pm

Post by two_bits »

OK then, thanks for that
James
Post Reply