Thursday, March 03, 2011

Generating Mesh

It doesn't look like much of anything, but I'm generating those meshes.  I've got the vertices and the uvs part of the Mesh object figured out, but not the triangles.

I'm already detecting what part of the square is exposed to air, so now I just have to selectively draw that part instead of the whole cube and I'll be good to go (after figuring out the triangles part too).  The entire inside will be totally hollow.

I'm very excited for this.

No comments: