This was my last post from my thread about svn updates. Reiko found that .cms files placed out of the solarsystem and around a different star will render tiny if the MeshScale is not used in the ssc file duplicating the radius. In other words, the ssc file must have a line MeshScale 292.45 along with the Radius 292.45 for the .cms model to render correctly.
I created a ssc file that basically copied part of asteroid.ssc and assigned an asteroid to Wolf 359.cartrite wrote:The ssc file I did used a radius of 0.7 or 700 meters. When this is used, the asteroid is full size. When I used your radius of 292.45 km, the onscreen text confirmed that the size was 292.45 km but the model was tiny. "NormalizeMesh true" or "NormalizeMesh false" had no effect on size. But adding the linegot the model to render the correct size. I'm not sure but this may be a bug. I'll start a thread in the bug forum.Code: Select all
MeshScale 292.45
Code: Select all
"test" "Wolf 359"
{
# Data for Dactyl taken from:
# Petit et al.: The Long-Term Dynamics of Dactyl's Orbit
# (Icarus 1997: 130; 177-197) - linked in the InfoURL
InfoURL "http://www.lpl.arizona.edu/~hurfordt/research/papers/Icarus130.pdf"
Class "asteroid"
Texture "asteroid.jpg"
# Use the same color as for Ida--uncertain if this is correct
Color [ 1.000 0.901 0.815 ]
BlendTexture true
Mesh "roughsphere.cms"
# NormalizeMesh true
# MeshScale 292.45
Radius 292.45
EllipticalOrbit
{
Epoch 2449228.2028 # 1993 Aug 28 16:52:05UT
Period 0.96534 # stable 5:1 resonant orbit (Petit et al.)
SemiMajorAxis 83.5 # stable 5:1 resonant orbit (Petit et al.)
Eccentricity 0.13 # stable 5:1 resonant orbit (Petit et al.)
LongOfPericenter 310 # stable pericenter at 90:E Ida longitude (Petit et al.)
AscendingNode 90 # VERY approximate - chosen to place Dactyl north
# of Ida's equator, as seen at time of Galileo encounter
Inclination 8 # estimated at 7-9 degrees (Petit et al.)
}
UniformRotation
{
MeridianAngle 123 # place prime meridian facing Ida
}
Albedo 0.2
}
That ssc file will render a tiny model. If the MeshScale line is uncommented, the model will render correctly.
Here is a cel url.
Code: Select all
cel://Follow/Wolf 359:test/2008-10-22T18:08:45.76967?x=bLkpfSRKsZ3mno7//////w&y=E+yki+JaQ7xTew&z=0JuzGhmh1ImPptz//////w&ow=0.659601&ox=-0.046373&oy=-0.748424&oz=0.051354&select=Wolf 359:test&fov=28.866140&ts=1.000000<d=0&p=0&rf=3986711&lm=2048&ver=2
cartrite