Jump to content
  • Advertisement
Sign in to follow this  
AcidZombie24

vector graphics? and acceleration?

This topic is 3685 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

Advertisement
If by vector you mean lines, & solid shapes (polygons) - then yes
Those are are the fundamentals of all hardware acceleration apis

Your options are the usuals - OpenGL and Direct3D

OpenGL immediate mode rendering (glBegin ... glEnd) is probably the simplest way to learn, before, & if, you wish to step into deeper waters

Don't let the "3D" bit scare you.. that really make no difference (it's just an extra bit of math, afterall)
The apis are just as effective for doing "2D" acceleration

Share this post


Link to post
Share on other sites
Quote:
Original post by AcidZombie24
Is there a way to draw vector graphics?

Yes. Vector graphics refers to images comprised of mathematically defined figures - lines, gradients, shapes, etc. These are the sorts of images created by Adobe Illustrator or Inkscape.

Quote:
and is it HW accelerated?

It depends. It's possible to employ hardware acceleration to speed the computation of the formulas, yes, but most vector drawing applications don't, as yet. I'm pretty certain that Illustrator CS4 does, though.

Share this post


Link to post
Share on other sites
OpenGL only allows rendering of segments and polygons, I think.
If you need to render something else (like a circle), you'll have to convert it to these.

Share this post


Link to post
Share on other sites
I know there is an implimentation of OpenVG which runs on top of openGL, its called AmanithVG -- Though it seems that they stopped updating their website (http://www.amanith.org) in 2006.

There may be other implementations which are hardware accelerated.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!