move 3d models

This commit is contained in:
Zack Buhman 2025-04-05 05:25:20 -05:00
parent 54caf2e03c
commit f111ae9005
11 changed files with 38401 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# Blender 4.2.1 LTS
# www.blender.org
mtllib cube.mtl
o Cube
v -1.000000 -1.000000 1.000000
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 -1.000000
v -1.000000 1.000000 -1.000000
v 1.000000 -1.000000 1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 1.000000 -1.000000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vt 0.625000 0.000000
vt 0.375000 0.250000
vt 0.375000 0.000000
vt 0.625000 0.250000
vt 0.375000 0.500000
vt 0.625000 0.500000
vt 0.375000 0.750000
vt 0.625000 0.750000
vt 0.375000 1.000000
vt 0.125000 0.750000
vt 0.125000 0.500000
vt 0.875000 0.500000
vt 0.625000 1.000000
vt 0.875000 0.750000
s 0
f 2/1/1 3/2/1 1/3/1
f 4/4/2 7/5/2 3/2/2
f 8/6/3 5/7/3 7/5/3
f 6/8/4 1/9/4 5/7/4
f 7/5/5 1/10/5 3/11/5
f 4/12/6 6/8/6 8/6/6
f 2/1/1 4/4/1 3/2/1
f 4/4/2 8/6/2 7/5/2
f 8/6/3 6/8/3 5/7/3
f 6/8/4 2/13/4 1/9/4
f 7/5/5 5/7/5 1/10/5
f 4/12/6 2/14/6 6/8/6

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.2.1 LTS MTL File: 'None'
# www.blender.org
newmtl Body_Torso
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.000000 0.000000 0.000000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
#pragma once
#include <stdint.h>
#include "model/material.h"
enum material {
female_Body_Torso
};
const struct material_descriptor female_material[] = {
};

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,123 @@
const vertex_position cube_position[] = {
{-1.000000f, -1.000000f, 1.000000f},
{-1.000000f, 1.000000f, 1.000000f},
{-1.000000f, -1.000000f, -1.000000f},
{-1.000000f, 1.000000f, -1.000000f},
{1.000000f, -1.000000f, 1.000000f},
{1.000000f, 1.000000f, 1.000000f},
{1.000000f, -1.000000f, -1.000000f},
{1.000000f, 1.000000f, -1.000000f},
};
const vertex_texture cube_texture[] = {
{0.625000f, 0.000000f},
{0.375000f, 0.250000f},
{0.375000f, 0.000000f},
{0.625000f, 0.250000f},
{0.375000f, 0.500000f},
{0.625000f, 0.500000f},
{0.375000f, 0.750000f},
{0.625000f, 0.750000f},
{0.375000f, 1.000000f},
{0.125000f, 0.750000f},
{0.125000f, 0.500000f},
{0.875000f, 0.500000f},
{0.625000f, 1.000000f},
{0.875000f, 0.750000f},
};
const vertex_normal cube_normal[] = {
{-1.000000f, -0.000000f, -0.000000f},
{-0.000000f, -0.000000f, -1.000000f},
{1.000000f, -0.000000f, -0.000000f},
{-0.000000f, -0.000000f, 1.000000f},
{-0.000000f, -1.000000f, -0.000000f},
{-0.000000f, 1.000000f, -0.000000f},
};
const union triangle cube_Cube_triangle[] = {
{ .v = {
{1, 0, 0},
{2, 1, 0},
{0, 2, 0},
}},
{ .v = {
{3, 3, 1},
{6, 4, 1},
{2, 1, 1},
}},
{ .v = {
{7, 5, 2},
{4, 6, 2},
{6, 4, 2},
}},
{ .v = {
{5, 7, 3},
{0, 8, 3},
{4, 6, 3},
}},
{ .v = {
{6, 4, 4},
{0, 9, 4},
{2, 10, 4},
}},
{ .v = {
{3, 11, 5},
{5, 7, 5},
{7, 5, 5},
}},
{ .v = {
{1, 0, 0},
{3, 3, 0},
{2, 1, 0},
}},
{ .v = {
{3, 3, 1},
{7, 5, 1},
{6, 4, 1},
}},
{ .v = {
{7, 5, 2},
{5, 7, 2},
{4, 6, 2},
}},
{ .v = {
{5, 7, 3},
{1, 12, 3},
{0, 8, 3},
}},
{ .v = {
{6, 4, 4},
{4, 6, 4},
{0, 9, 4},
}},
{ .v = {
{3, 11, 5},
{1, 13, 5},
{5, 7, 5},
}},
};
const union quadrilateral cube_Cube_quadrilateral[] = {
};
const struct object cube_Cube = {
.triangle = &cube_Cube_triangle[0],
.quadrilateral = &cube_Cube_quadrilateral[0],
.triangle_count = 12,
.quadrilateral_count = 0,
.material = 0,
};
const struct object * cube_object[] = {
&cube_Cube,
};
const struct model cube_model = {
.position = cube_position,
.texture = cube_texture,
.normal = cube_normal,
.object = cube_object,
.object_count = 1
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff