How to save a scene in higher resolution?

Started by
20 comments, last by hlee 10 years, 7 months ago

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?

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.

This topic is closed to new replies.

Advertisement