Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

I am using SlimDX and C# for developing the application. I have prepared a sample that demonstrates the issue by using the Direct2D and Direct3D Interop and renders a line on 2D Texture. You can download it from here.

share|improve this question
If all else fails, you can implement your 2D stuff in 3D so that everything uses the same rendering pipeline and therefore will be anti-aliased. –  Tetrad Oct 29 '11 at 14:27
Yes Tetrad, I'll probably do the same. Thanks –  Pankaj Nov 2 '11 at 12:04
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.