Code: Select all
material
name greenhouse
texture mesh.png
color forest_green
end
# Low poly monopoly house
mesh
matref greenhouse
inside 0.0 0.0 15
vertex 20.0 20.0 0.0 #vertex 0
vertex 20.0 -20.0 0.0 #vertex 1
vertex -20.0 -20.0 0.0 #vertex 2
vertex -20.0 20.0 0.0 #vertex 3
# top x, y, z coordinates.
vertex 20.0 20.0 20.0 #vertex 4
vertex 20.0 -20.0 20.0 #vertex 5
vertex -20.0 -20.0 20.0 #vertex 6
vertex -20.0 20.0 20.0 #vertex 7
# offset
vertex 22.0 22.0 20.0 #vertex 8
vertex 22.0 -22.0 20.0 #vertex 9
vertex -22.0 -22.0 20.0 #vertex 10
vertex -22.0 22.0 20.0 #vertex 11
vertex 22.0 0.0 40.0 #vertex 12
vertex -22.0 0.0 40.0 #vertex 13
# Bottom inside face
face
vertices 3 2 1 0
endface
face
vertices 0 1 2 3
endface
# Outside downwards +Y edge face
face
vertices 4 7 11 8
endface
#outside downwards +x edge face
face
vertices 5 4 8 9
endface
#outside downwards -x edge face
face
vertices 7 6 10 11
endface
# Outside downwards -Y edge face
face
vertices 5 9 10 6
endface
face
vertices 13 12 8 11 #roof
endface
face
vertices 12 13 10 9 #roof
endface
face
vertices 12 9 8 #roof
endface
face
vertices 13 11 10 #roof
endface
face
vertices 4 0 3 7
endface
face
vertices 6 2 1 5
endface
face
vertices 0 4 5 1
endface
face
vertices 2 6 7 3
endface
end
-Zehra