Jump to content
  • Advertisement

Archived

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

izzo

2d anti-aliased lines

This topic is 5218 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 Do most graphics cards support 2d anti-aliased lines in hardware? I seem to recall reading in my EGA/VGA Programmer''s Guide by Ferraro long ago (don''t have it handy at the moment) that many cards supported various 2d drawing operations in hardware. Surely by now they support anti-aliased lines? And if so, does Windows provide a way to access those features? And if not, why not? :D I''m using GDI. Actually I''m using wxWindows and its wxDC class, which is just a wrapper for GDI under Windows, afaik, so OpenGL/DX is out of the question. cheers sam

Share this post


Link to post
Share on other sites
Advertisement
No... Modern graphics cards have no support for anything in 2D, you are better off using a 3D api. Software rendering is often faster than hardware rendering for 2D when you want to do anything else than simple blitting. But wrting your own software renderer is no small task, even in 2D, so, look at how to do it in D3D or OGL.

Share this post


Link to post
Share on other sites
Doh.. Oh well. OGL/DX is out of the question as it would mean a major rewrite. Thanks anyway!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!