Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

elis-cool

Seperate rendering windows...

This topic is 5751 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, so im designing my level editor, and I want to have the main window with the terrain etc... and I want to have a toolwindow over top from witch you can select objects (models) and their displayed in the window next to the list (not the main window, the one on the tool/dialog window) and I know about using veiwports to restrict its location on the window, but how do I render to the two diff windows?

Share this post


Link to post
Share on other sites
Advertisement
You have to activate the current viewport with pD3DDevice->SetViewport() and then just render...

Gero

[edited by - gerogerber on October 21, 2002 6:28:48 AM]

Share this post


Link to post
Share on other sites
If you''re after truly different _windows_, then you need to use additional Swap Chains.

Look at the "Multiple Views in Windowed Mode" topic in the D3D docs for more info.

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!