Code: Select all
Nebula "Test"
{
Mesh "billboard1.cmod"
Axis [-0.3618 0.8683 0.3395]
Angle 139.9596945
RA 212.31
Dec 23.85
Radius 0.0000005229
Distance 0.0013483
}
Code: Select all
# celmodel__ascii
# an attempt at a square billboard using the cmod format
# s.ball 21apr04
material
texture0 "star.*" # modify this filename to display other images
diffuse 1 1 1 opacity 1 end_material
mesh
vertexdesc position f3 normal f3 texcoord0 f2 end_vertexdesc
vertices 4
0 0 0 0 1 0 0 1
0 0 1 0 1 0 0 0
1 0 1 0 1 0 1 0
1 0 0 0 1 0 1 1
# the "negative" side: facing the origin
trilist 0 6
0 3 2
2 1 0
# the "positive" side: facing away from the origin
trilist 0 6
0 1 2
2 3 0
end_mesh