Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked. Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
- Loading branch information
1 parent
e3bd670
commit 3356da0
Showing
16 changed files
with
545 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
License of media files | ||
---------------------- | ||
Content imported from minetest_game. | ||
|
||
|
||
BlockMen (CC BY-SA 3.0) | ||
default_chest_front.png | ||
default_chest_lock.png | ||
default_chest_side.png | ||
default_chest_top.png | ||
|
||
stujones11 (CC BY-SA 3.0) | ||
An0n3m0us (CC BY-SA 3.0) | ||
testformspec_character.b3d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
79 changes: 79 additions & 0 deletions
79
games/devtest/mods/testformspec/models/testformspec_chest.obj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Blender v2.78 (sub 0) OBJ File: 'chest-open.blend' | ||
# www.blender.org | ||
o Top_Cube.002_None_Top_Cube.002_None_bottom | ||
v -0.500000 0.408471 0.720970 | ||
v -0.500000 1.115578 0.013863 | ||
v -0.500000 0.894607 -0.207108 | ||
v -0.500000 0.187501 0.499999 | ||
v 0.500000 1.115578 0.013863 | ||
v 0.500000 0.408471 0.720970 | ||
v 0.500000 0.187501 0.499999 | ||
v 0.500000 0.894607 -0.207108 | ||
v -0.500000 0.187500 -0.500000 | ||
v -0.500000 -0.500000 -0.500000 | ||
v -0.500000 -0.500000 0.500000 | ||
v 0.500000 0.187500 -0.500000 | ||
v 0.500000 -0.500000 0.500000 | ||
v 0.500000 -0.500000 -0.500000 | ||
vt 0.0000 1.0000 | ||
vt 0.0000 0.0000 | ||
vt 1.0000 0.0000 | ||
vt 1.0000 1.0000 | ||
vt 1.0000 0.0000 | ||
vt 1.0000 1.0000 | ||
vt 0.0000 1.0000 | ||
vt 0.0000 0.0000 | ||
vt 0.0000 1.0000 | ||
vt 1.0000 1.0000 | ||
vt 1.0000 0.6875 | ||
vt 0.0000 0.6875 | ||
vt 1.0000 1.0000 | ||
vt 0.0000 0.6875 | ||
vt 1.0000 0.6875 | ||
vt 1.0000 0.6875 | ||
vt 1.0000 0.0000 | ||
vt 0.0000 0.0000 | ||
vt 1.0000 0.6875 | ||
vt 1.0000 0.0000 | ||
vt 1.0000 1.0000 | ||
vt 1.0000 0.6875 | ||
vt 1.0000 0.0000 | ||
vt 0.0000 1.0000 | ||
vt 0.0000 0.6875 | ||
vt 0.0000 0.6875 | ||
vt 0.0000 0.0000 | ||
vt 1.0000 0.5000 | ||
vt 1.0000 1.0000 | ||
vt 0.0000 1.0000 | ||
vt 0.0000 0.5000 | ||
vt 0.0000 0.0000 | ||
vt 1.0000 0.0000 | ||
vn 0.0000 0.7071 0.7071 | ||
vn -0.0000 -1.0000 -0.0000 | ||
vn -1.0000 0.0000 0.0000 | ||
vn 1.0000 0.0000 -0.0000 | ||
vn 0.0000 -0.7071 0.7071 | ||
vn 0.0000 0.0000 1.0000 | ||
vn -0.0000 0.7071 -0.7071 | ||
vn -0.0000 0.0000 -1.0000 | ||
vn -0.0000 -0.7071 -0.7071 | ||
vn -0.0000 1.0000 -0.0000 | ||
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Top | ||
s off | ||
f 6/1/1 5/2/1 2/3/1 1/4/1 | ||
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Bottom | ||
f 11/5/2 10/6/2 14/7/2 13/8/2 | ||
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Right-Left | ||
f 1/9/3 2/10/3 3/11/3 4/12/3 | ||
f 5/13/4 6/1/4 7/14/4 8/15/4 | ||
f 4/12/3 9/16/3 10/17/3 11/18/3 | ||
f 12/19/4 7/14/4 13/8/4 14/20/4 | ||
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Back | ||
f 6/21/5 1/9/5 4/12/5 7/22/5 | ||
f 7/22/6 4/12/6 11/18/6 13/23/6 | ||
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Front | ||
f 2/10/7 5/24/7 8/25/7 3/11/7 | ||
f 9/16/8 12/26/8 14/27/8 10/17/8 | ||
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Inside | ||
f 4/28/9 3/29/9 8/30/9 7/31/9 | ||
f 7/31/10 12/32/10 9/33/10 4/28/10 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.