--- Nick Burns adger44@hotmail.com wrote:
Window resizing in Direct3d9 -- and I mean the resizing handled BY direct3d -- stretches the rendered image to fit the resized window... This allows 2DTestDX9 demo to work with resizing... I would like to know if the current ideas for window resizing will handle the 2DTestDX9 demo. I know this is not the common d3d demo (hey no real 3d to speak of here) but adding support for this class of apps ought to be considered...
It should be too hard to do this, just replace swapbuffers with a glCopyPixels with the backbuffe set to read and the front set to write with scaling. I've already got something similar for debugging where the back buffer is displayed scaled down in a separate window.
---called 2D Blits in DirectX 9... https://secure.codeproject.com/directx/files.asp https://secure.codeproject.com/directx/files/2DTestDX9.zip
golly gee thats a hard demo to find again... (and its https.. crap) Im not sure how people can get it (maybe bugmenot.com for codeproject??)
or http://www.codeproject.com/directx/files.asp http://www.codeproject.com/directx/files/2DTestDX9.zip
Your mileage WILL vary...
___________________________________________________________ Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://uk.mail.yahoo.com