Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a very simple OpenGL ES 2.0 game, and I'm not sure what tool to use to create the vertex data I need. My first thought was adobe illustrator, but I can't seem to find any info on how to convert an .ai file to vertices. I'm only going to be using very simple 2D shapes so I wonder if I need to use a 3d modelling program?

How is this typically done, when you are working with 2D non-sprite shapes?

share|improve this question
Why can you not create a quad and add a texture to it? – DMan Feb 10 '11 at 4:53

If shapes are really complicated, I would recommend 3D modelling software (for example Blender, which is freeware). When you will be loading data, you can just throw away one coordinate. You can for example use front orthogonal view and then discard z-coordinate.

Such software also allow to export data to some graphic format, like OBJ or PLY. There is a lot of loaders for them already written.

share|improve this answer

You could try importing files in the SVG file format. It's not super simple, but there are a fair number of tools that can output the format (such as Inkscape on Windows). The fog framework includes a SVG loader, and you can find a few other examples by poking around Google.

share|improve this answer

If the shapes are really simple (eg circles, triangles, etc), you can just generate the vertices using simple functions without going through any graphics or modeling program.

share|improve this answer
They're simple, but not that simple... – Kenny Winker Feb 9 '11 at 22:56
Think something along the lines of a vector lunar lander game. – Kenny Winker Feb 9 '11 at 23:12

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.