iOS OpenGlES 2D Vector Graphics Loading and Drawing?

MatthewF

macrumors newbie
Original poster
Jun 27, 2010
21
0
In my game all my images are png though recently I've been toying with the idea of vector images. Where they can be scaled/rotated without loss and small in file size.

How would you load a vector image file such as SVG and draw it in OpenGlES?



Thanks,
Matt
 

MatthewF

macrumors newbie
Original poster
Jun 27, 2010
21
0
No luck. I have figured out that I can get vector graphics by converting my SVG file to PDF and loading the PDF and using it like a regular image.
Sadly I need to rasterize it to use it as a texture in OpenGl.


Matt
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.