Anti-aliasing with Direct2D and Direct3D Interoperability

Started by
-1 comments, last by pankaj.sachdeva 12 years, 5 months ago
Hi all,

I am trying to create a CAD drafting application that uses Direct2D to draw all the 2D graphics and uses Direct3D for all the 3D graphics like engine or machine etc.

I am using Direct2D and Direct3D Interoperability to use both 2D & 3D APIs side by side but I got stuck in an issue that is whenever I draw 2D lines there is anti-aliasing issue which is clearly visible; to fix it I tried using the RenderTarget.AntialiasMode as Antialised but still the issue remains.

FYI I am using SlimDX and C# for developing the application. I'll appreciated if anybody can help me fix this problem. I have prepared and attached with this thread the sample that does the Direct2D and Direct3D Interop and renders a line on 2D Texture.

Thank you,
Pankaj Sachdeva
Regards,
Pankaj

This topic is closed to new replies.

Advertisement