Sign in to follow this  

viewport and backbuffer

This topic is 4378 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

I'm not sure but I guess it will just get stretched. IIRC each viewport has the default (device-)viewmatrix, or it's own. There shouldn't be stretching if you set the correct viewmatrix. And as for sizes, I think it will just get clipped or a part of the screen remains undrawn.

This is all just logical thinking, and it doesn't hurt to try it out yourself.

Share this post


Link to post
Share on other sites
You can render a viewport anywhere within/off the window. it will not get stretched by default, just clipped. You can overlap multiple viewports with no problems.

One thing to note is: make sure you clear EVERY viewport you use, including the backbuffer. (an uncleared backbuffer will make the rendered viewports look vert strange sometimes).

Share this post


Link to post
Share on other sites

This topic is 4378 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this