Data – 立方体 模型数据

Vertices = 
{
    { -50.0f, -50.0f, -50.0f },
    {  50.0f, -50.0f, -50.0f },
    {  50.0f,  50.0f, -50.0f },
    {  50.0f,  50.0f, -50.0f },
    { -50.0f,  50.0f, -50.0f },
    { -50.0f, -50.0f, -50.0f },
    { -50.0f, -50.0f,  50.0f },
    {  50.0f, -50.0f,  50.0f },
    {  50.0f,  50.0f,  50.0f },
    {  50.0f,  50.0f,  50.0f },
    { -50.0f,  50.0f,  50.0f },
    { -50.0f, -50.0f,  50.0f },
    { -50.0f,  50.0f,  50.0f },
    { -50.0f,  50.0f, -50.0f },
    { -50.0f, -50.0f, -50.0f },
    { -50.0f, -50.0f, -50.0f },
    { -50.0f, -50.0f,  50.0f },
    { -50.0f,  50.0f,  50.0f },
    {  50.0f,  50.0f,  50.0f },
    {  50.0f,  50.0f, -50.0f },
    {  50.0f, -50.0f, -50.0f },
    {  50.0f, -50.0f, -50.0f },
    {  50.0f, -50.0f,  50.0f },
    {  50.0f,  50.0f,  50.0f },
    { -50.0f, -50.0f, -50.0f },
    {  50.0f, -50.0f, -50.0f },
    {  50.0f, -50.0f,  50.0f },
    {  50.0f, -50.0f,  50.0f },
    { -50.0f, -50.0f,  50.0f },
    { -50.0f, -50.0f, -50.0f },
    { -50.0f,  50.0f, -50.0f },
    {  50.0f,  50.0f, -50.0f },
    {  50.0f,  50.0f,  50.0f },
    {  50.0f,  50.0f,  50.0f },
    { -50.0f,  50.0f,  50.0f },
    { -50.0f,  50.0f, -50.0f },
};

Normals =
{
    {  0.0f,  0.0f, -1.0f },
    {  0.0f,  0.0f, -1.0f },
    {  0.0f,  0.0f, -1.0f },
    {  0.0f,  0.0f, -1.0f },
    {  0.0f,  0.0f, -1.0f },
    {  0.0f,  0.0f, -1.0f },
    {  0.0f,  0.0f,  1.0f },
    {  0.0f,  0.0f,  1.0f },
    {  0.0f,  0.0f,  1.0f },
    {  0.0f,  0.0f,  1.0f },
    {  0.0f,  0.0f,  1.0f },
    {  0.0f,  0.0f,  1.0f },
    { -1.0f,  0.0f,  0.0f },
    { -1.0f,  0.0f,  0.0f },
    { -1.0f,  0.0f,  0.0f },
    { -1.0f,  0.0f,  0.0f },
    { -1.0f,  0.0f,  0.0f },
    { -1.0f,  0.0f,  0.0f },
    {  1.0f,  0.0f,  0.0f },
    {  1.0f,  0.0f,  0.0f },
    {  1.0f,  0.0f,  0.0f },
    {  1.0f,  0.0f,  0.0f },
    {  1.0f,  0.0f,  0.0f },
    {  1.0f,  0.0f,  0.0f },
    {  0.0f, -1.0f,  0.0f },
    {  0.0f, -1.0f,  0.0f },
    {  0.0f, -1.0f,  0.0f },
    {  0.0f, -1.0f,  0.0f },
    {  0.0f, -1.0f,  0.0f },
    {  0.0f, -1.0f,  0.0f },
    {  0.0f,  1.0f,  0.0f },
    {  0.0f,  1.0f,  0.0f },
    {  0.0f,  1.0f,  0.0f },
    {  0.0f,  1.0f,  0.0f },
    {  0.0f,  1.0f,  0.0f },
    {  0.0f,  1.0f,  0.0f },
};

UV =
{
    { 0.0f, 0.0f },
    { 1.0f, 0.0f },
    { 1.0f, 1.0f },
    { 1.0f, 1.0f },
    { 0.0f, 1.0f },
    { 0.0f, 0.0f },
    { 0.0f, 0.0f },
    { 1.0f, 0.0f },
    { 1.0f, 1.0f },
    { 1.0f, 1.0f },
    { 0.0f, 1.0f },
    { 0.0f, 0.0f },
    { 1.0f, 0.0f },
    { 1.0f, 1.0f },
    { 0.0f, 1.0f },
    { 0.0f, 1.0f },
    { 0.0f, 0.0f },
    { 1.0f, 0.0f },
    { 1.0f, 0.0f },
    { 1.0f, 1.0f },
    { 0.0f, 1.0f },
    { 0.0f, 1.0f },
    { 0.0f, 0.0f },
    { 1.0f, 0.0f },
    { 0.0f, 1.0f },
    { 1.0f, 1.0f },
    { 1.0f, 0.0f },
    { 1.0f, 0.0f },
    { 0.0f, 0.0f },
    { 0.0f, 1.0f },
    { 0.0f, 1.0f },
    { 1.0f, 1.0f },
    { 1.0f, 0.0f },
    { 1.0f, 0.0f },
    { 0.0f, 0.0f },
    { 0.0f, 1.0f },
};

Triangles =
{
     0,  1,  2,
     3,  4,  5,
     8,  7,  6,
    11, 10,  9,
    14, 13, 12,
    17, 16, 15,
    18, 19, 20,
    21, 22, 23,
    26, 25, 24,
    29, 28, 27,
    30, 31, 32,
    33, 34, 35,
};

发表评论