Jump to content
  • Advertisement
Sign in to follow this  
hlee

How to save a scene in higher resolution?

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

How about using D3DXSaveSurfaceToFile wink.png

That works!  I thought D3DXSaveSurfaceToFile requires the source being OffscreenPlainSurface.

 

That's one step saved.  I still think it is unnecessarily cumbersome.  Maybe D3D11 provide a more efficient method?

Share this post


Link to post
Share on other sites
Advertisement

 

How about using D3DXSaveSurfaceToFile wink.png

That works!  I thought D3DXSaveSurfaceToFile requires the source being OffscreenPlainSurface.

 

That's one step saved.  I still think it is unnecessarily cumbersome.  Maybe D3D11 provide a more efficient method?

 

Just noticed a side effect of skipping the step: the maximum resolution is reduced !

 

Somehow, by copying RT2 to an OffscreenPlainSurface before D3DXSaveSurfaceToFile, I can save a frame with higher resolution.  Does anyone have an explanation?

 

Since efficiency is not a concern for my purpose, I will add the step back.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!