Sie sind auf Seite 1von 3

Assignment4 Writeup

1. Screenshot of mesh after assignment4

2.
3.
4.
5.

Minimum number of vertices required to draw a square when using indexed drawing = 4
My mesh can have a maximum number of vertices is number of triangles in mesh * 2
Max triangles depends on the mesh shape.
It is important to make the mesh file human readable because, graphics designers, game
designers etc should be able to view and edit the file.

6. Above is my mesh file format


Vertices is a table with position and color tables,
Indices is an ordered table.
7. I made this mesh as a right handed winding order. This is because I will use it directly for
OpenGL and covert the order to left for direct3d in code.
8. I wanted 4 color values RGBA.
9. I chose the extension .Mesh. This is just so it is readable.
10. I put my mesh in authored directory (Assets). This is because it is a representation of an asset
like a shader. I did build my mesh to a subdirectory of $(BuiltAssetDir). This is because I want my
game to have access to the mesh at runtime.

Das könnte Ihnen auch gefallen