viernes, 26 de febrero de 2010

CCustomMesh


We've added a new object to CObjectLayer, it is a generic mesh. So, now you can mix sprites, texts and generic meshes in the same layer.

In addition, a mesh can be composed by submeshes, and you can assign different ways of rendering for each submesh: Points, Lines, LineStrip, LineLoop, Triangles, TriangleStrip and TriangleFan.

These meshes are fully editable and you can add and modify at any time: VertexPosition, VertexColor, VertexTextureCoords, VertexNormal. Finally, tell that the user can add VertexIndexes if the mesh is not linear.

Otherwise, it behaves like an ordinary sprite.

No hay comentarios:

Publicar un comentario