Jump to content

  • Log In with Google      Sign In   
  • Create Account


How to save a scene in higher resolution?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
21 replies to this topic

#21 hlee   Members   -  Reputation: 115

Like
0Likes
Like

Posted 18 September 2013 - 03:59 PM

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?



Sponsor:

#22 hlee   Members   -  Reputation: 115

Like
0Likes
Like

Posted 18 September 2013 - 04:38 PM

 

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.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS