Code: Select all
material
emissive 0.45 0 0 # Weak red
diffuse 0.45 0 0
opacity 0.3
end_material
Add this code at the end of the file :
Code: Select all
####### box
mesh vertexdesc position f3 end_vertexdesc
vertices 2
10 10 10
10 10 -10
linestrip 2 2
0
1
end_mesh
mesh vertexdesc position f3 end_vertexdesc
vertices 2
10 -10 10
10 -10 -10
linestrip 2 2
0
1
end_mesh
mesh vertexdesc position f3 end_vertexdesc
vertices 2
-10 -10 10
-10 -10 -10
linestrip 2 2
0
1
end_mesh
mesh vertexdesc position f3 end_vertexdesc
vertices 2
-10 10 10
-10 10 -10
linestrip 2 2
0
1
end_mesh
mesh vertexdesc position f3 end_vertexdesc
vertices 4
10 10 10
10 -10 10
-10 -10 10
-10 10 10
linestrip 2 5
0
1
2
3
0
end_mesh
mesh vertexdesc position f3 end_vertexdesc
vertices 4
10 10 -10
10 -10 -10
-10 -10 -10
-10 10 -10
linestrip 2 5
0
1
2
3
0
end_mesh