pantry/projects/assimp.org/test.obj
Andrew 0da6f671d0
assimp.org (#2579)
* assimp.org

* build shared

* -std=c++11

* -static-libstdc++

* modified:   projects/assimp.org/package.yml
	new file:   projects/assimp.org/test.cpp
	new file:   projects/assimp.org/test.obj
2023-08-17 16:21:45 -04:00

28 lines
466 B
Plaintext

# WaveFront .obj file - a single square based pyramid
# Start a new group:
g MySquareBasedPyramid
# List of vertices:
# Front left
v -0.5 0 0.5
# Front right
v 0.5 0 0.5
# Back right
v 0.5 0 -0.5
# Back left
v -0.5 0 -0.5
# Top point (top of pyramid).
v 0 1 0
# List of faces:
# Square base (note: normals are placed anti-clockwise).
f 4 3 2 1
# Triangle on front
f 1 2 5
# Triangle on back
f 3 4 5
# Triangle on left side
f 4 1 5
# Triangle on right side
f 2 3 5