Sign in to follow this  

[SlimDX] Render to bitamp with MSAA

This topic is 2812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I want to render some scene to System.Drawing.Bitmap type. Currently i have success with non-multisampled rendering only. Creation of the render target in next:
...
m_renderTarget = Surface.CreateRenderTarget(m_device,
                                            m_width,
                                            m_height,
                                            pp.BackBufferFormat,
                                            pp.Multisample,
                                            pp.MultisampleQuality,
                                            true);
...

There is some conflict with lockable back buffer and multisample antialiasing. I get error when use both: [4132] Direct3D9: (ERROR) :Multi-Sampled render-targets are not lockable. CreateRenderTarget failed Perhaps there is some other way to render scene to bitmap?? thanks in advice.

Share this post


Link to post
Share on other sites
still not working with AA. I get error when call GetRenderTargetData():

[6000] Direct3D9: (ERROR) :Cannot perform copies from multisampled render targets. GetRenderTargetData fails

any help?

[Edited by - user88 on March 30, 2010 9:04:28 AM]

Share this post


Link to post
Share on other sites

This topic is 2812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this