With the new cvs code (07/30/2006) that improves rendering I was able to modify that model in the following manner. I did not upload this. I may update this after the next release of Celestia but anyone who may be interested who has compiled the latest cvs and would like to try this, This how I did it.
1. cmodfix -a mars-mons-valles-131.cmod 1.cmod
2. cmodfix -s 180 1.cmod 2.cmod
3. cmodfix -t 2.cmod 1.cmod
4. cmodfix -u 1.cmod 2.cmod
5. open in a text editor and add to the materials section
Code: Select all
specular 0.5 0.5 0.55
specpower 1
texture0 "mars.png"
normalmap "norm.png"
specularmap "spec.png"
6. cmodfix -b 2.cmod mars-mons-valles131.cmod
7. Add a texture/medres folder with a 4k mars texture and normalmap called mars.png, norm.png
8. Add a texture called spec.png which is just a 1k grayscale file with one color that is dark grey.
9. The ssc file for this looks like this.
Code: Select all
"Mars2" "Sol/Mars"
{
Mesh "mars-mons-valles-131.cmod"
#Texture "mars.*"
Radius 3396 #small
Atmosphere {
Height 50
Lower [ 0.8 0.6 0.6 ]
Upper [ 0.7 0.3 0.3 ]
Sky [ 0.83 0.75 0.65 ]
Sunset [ 0.7 0.7 0.8 ]
# Slightly bluish sunset, as seen in true color pictures
# from Pathfinder
}
CustomOrbit "vsop87-mars"
EllipticalOrbit
{
Period 1.8809
SemiMajorAxis 1.5237
Eccentricity 0.0934
Inclination 1.8506
AscendingNode 49.479
LongOfPericenter 336.041
MeanLongitude 355.453
}
RotationPeriod 24.622962
Obliquity 26.72
EquatorAscendingNode 82.91
RotationOffset 136.005
Albedo 0.150
}
Of course one could change the names around but the important things to note are that I could not get this to work by simply modifying the ssc file. Tangents were generated after the smooth 180 run. The textures were declared in the model not the ssc file. The Modify command did not work so I had to define a new planet with it's own orbit. I used the same orbit as mars but made it orbit mars instead of the sun. A sreenshot of the same model thats on the motherlode modified as stated above.

This new cvs code really makes a great improvement.
cartrite