diff --git a/box.dpm b/box.dpm new file mode 100644 index 0000000..5daf47e Binary files /dev/null and b/box.dpm differ diff --git a/box.h b/box.h new file mode 100644 index 0000000..ca2ad75 --- /dev/null +++ b/box.h @@ -0,0 +1,14 @@ +/* +Generated header file for box +This file contains frame number definitions for use in code referencing the model, to make code more readable and maintainable. +*/ + +#ifndef MODEL_BOX_H +#define MODEL_BOX_H + +#define MODEL_BOX_BOX_0 0 +#define MODEL_BOX_BOX_START 0 +#define MODEL_BOX_BOX_END 1 +#define MODEL_BOX_BOX_LENGTH 1 + +#endif /*MODEL_BOX_H*/ diff --git a/box.smd b/box.smd new file mode 100644 index 0000000..41b9db3 --- /dev/null +++ b/box.smd @@ -0,0 +1,58 @@ +version 1 +nodes +0 "joint1" -1 +end +skeleton +time 0 +0 0.000000 1.000000 -1.000000 1.570796 0.000000 0.000000 +end +triangles +boxtexture.bmp +0 -19.750000 -18.250000 12.250000 0.000000 -1.000000 0.000000 0.000000 1.000000 +0 -19.750000 -18.250000 -16.250000 0.000000 -1.000000 0.000000 0.000000 0.000000 +0 19.750000 -18.250000 12.250000 0.000000 -1.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 -19.750000 -18.250000 -16.250000 0.000000 -1.000000 0.000000 0.000000 0.000000 +0 19.750000 -18.250000 -16.250000 0.000000 -1.000000 0.000000 1.000000 0.000000 +0 19.750000 -18.250000 12.250000 0.000000 -1.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 19.750000 -18.250000 12.250000 1.000000 0.000000 0.000000 0.000000 1.000000 +0 19.750000 -18.250000 -16.250000 1.000000 0.000000 0.000000 0.000000 0.000000 +0 19.750000 21.250000 12.250000 1.000000 0.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 19.750000 -18.250000 -16.250000 1.000000 0.000000 0.000000 0.000000 0.000000 +0 19.750000 21.250000 -16.250000 1.000000 0.000000 0.000000 1.000000 0.000000 +0 19.750000 21.250000 12.250000 1.000000 0.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 19.750000 21.250000 12.250000 0.000000 1.000000 0.000000 0.000000 1.000000 +0 19.750000 21.250000 -16.250000 0.000000 1.000000 0.000000 0.000000 0.000000 +0 -19.750000 21.250000 12.250000 0.000000 1.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 19.750000 21.250000 -16.250000 0.000000 1.000000 0.000000 0.000000 0.000000 +0 -19.750000 21.250000 -16.250000 0.000000 1.000000 0.000000 1.000000 0.000000 +0 -19.750000 21.250000 12.250000 0.000000 1.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 -19.750000 21.250000 12.250000 -1.000000 0.000000 0.000000 0.000000 1.000000 +0 -19.750000 21.250000 -16.250000 -1.000000 0.000000 0.000000 0.000000 0.000000 +0 -19.750000 -18.250000 12.250000 -1.000000 0.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 -19.750000 21.250000 -16.250000 -1.000000 0.000000 0.000000 0.000000 0.000000 +0 -19.750000 -18.250000 -16.250000 -1.000000 0.000000 0.000000 1.000000 0.000000 +0 -19.750000 -18.250000 12.250000 -1.000000 0.000000 0.000000 1.000000 1.000000 +boxtexture.bmp +0 -19.750000 21.250000 12.250000 0.000000 0.000000 1.000000 0.000000 1.000000 +0 -19.750000 -18.250000 12.250000 0.000000 0.000000 1.000000 0.000000 0.000000 +0 19.750000 21.250000 12.250000 0.000000 0.000000 1.000000 1.000000 1.000000 +boxtexture.bmp +0 -19.750000 -18.250000 12.250000 0.000000 0.000000 1.000000 0.000000 0.000000 +0 19.750000 -18.250000 12.250000 0.000000 0.000000 1.000000 1.000000 0.000000 +0 19.750000 21.250000 12.250000 0.000000 0.000000 1.000000 1.000000 1.000000 +boxtexture.bmp +0 -19.750000 -18.250000 -16.250000 0.000000 0.000000 -1.000000 0.000000 1.000000 +0 -19.750000 21.250000 -16.250000 0.000000 0.000000 -1.000000 0.000000 0.000000 +0 19.750000 -18.250000 -16.250000 0.000000 0.000000 -1.000000 1.000000 1.000000 +boxtexture.bmp +0 -19.750000 21.250000 -16.250000 0.000000 0.000000 -1.000000 0.000000 0.000000 +0 19.750000 21.250000 -16.250000 0.000000 0.000000 -1.000000 1.000000 0.000000 +0 19.750000 -18.250000 -16.250000 0.000000 0.000000 -1.000000 1.000000 1.000000 +end diff --git a/box.txt b/box.txt new file mode 100644 index 0000000..cc5dd66 --- /dev/null +++ b/box.txt @@ -0,0 +1,12 @@ + +# save the model as box.dpm +model box +# move the model this much before saving +origin 0 0 0 +# rotate the model 0 degrees around vertical +rotate 0 +# scale the model by this amount, 0.5 would be half size and 2.0 would be doule size +scale 1 +# load the mesh file, this is stored into the dpm as frame 0 +scene box.smd +