Using the following .cmod:
Code: Select all
#celmodel__ascii
material
emissive 0 1 1
end_material
mesh
vertexdesc
position f3
end_vertexdesc
vertices 6
-1 -1 0
-1 1 0
1 1 0
1 -1 0
0 0 1
0 0 -1
linestrip 0 13
0 1 2 3 0 4 2 5 3 4 1 5 0
end_mesh
When the model is used in a .ssc file, weird colour oscillations happen - from certain viewpoints the model occasionally turns white as it rotates, e.g.
Code: Select all
"Mesh" "Sol"
{
Radius 1000
Mesh "octahedron.cmod"
EllipticalOrbit { Period 0.5 SemiMajorAxis 0.1 }
UniformRotation { Period 1 }
}
cel://Follow/Sol:Mesh/2009-01-18T05:00: ... rc=0&ver=3
When I use the model in a .stc file, e.g.
Code: Select all
"Test"
{
RA 0
Dec 0
Distance 1000
AbsMag 4.83
SpectralType "G2V"
Mesh "octahedron.cmod"
}
the model is not shown as emissive, in fact it only seems to be visible against the background of the Milky Way.
What's going on here?