Archived

This topic is now archived and is closed to further replies.

yulair

How to get a screenshot without drawing the object?

Recommended Posts

You''ll find it tough.

If you did use Direct3D to do it, you could just use D3DX to load it, render it to a texture, and then save out that texture.

If you''re not, you''ll have to write your own .X file loader and renderer.

Share this post


Link to post
Share on other sites
You could always create the device, but indicate that you want it in windowed mode, and pass it a handle to a window that is hidden. Then you can use the device to render to a texture, as superpig suggested. So although you technically do have a device and a window and everything, it doesn''t really look like it. You won''t have to worry about mode-changes, unnecessary windows popping up, etc. Or at least, I would think that this should theoretically work...

Share this post


Link to post
Share on other sites