Jan 20

Filled-color vector sprites

Tag: Engine, VectorStormtrevor @ 11:58 am

Color-filled asteroidWow, that went a lot faster than I expected. I finished all of the tasks I laid myself in the last post, and so VectorStorm can now lay down areas of color by using a combination of a VertexArray command to specify vertices, and a TriangleStrip or TriangleFan command, specifying the order in which to use the vertices.

In this case, I’m using a TriangleFan to fill the asteroid, and a LineStrip to outline it. And it looks even better than I’d been hoping. I feel reassured that this isn’t going contrary to the “vector graphic” aesthetic; it’s just taking the overall look further along in the same direction it was already going.

  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Technorati

Leave a Reply