Skip to main content
gamedev.net
🔒 Locked

Saving backbuffer into a surface.

Started by shvalb 0 replies 1.1k views
Original Post
shvalb
shvalb
Hi. I need to create an avi movie from what I render, in my program I don't use the Present() method nor open a window because I don't need to show the output to the screen, I need to save it to an avi file. so I save the backbuffer to an avi file, and my question is: is it ok to take the backbuffer data and save it to a surface or maybe the data there is not so stable or something like that ?? Thanks
NeonGE
NeonGE
There isnt any problem, right now im doing exactly this, just create a texture that can store your backbuffer, get your backbuffer with a mono type and use D3DXLoadSurfaceFromSurface, then save your texture.
--------------------------------------------- If God with me, Who against me?Personal Web Samuel Prince Blog...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.