MER rovers don't display in pre10

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

MER rovers don't display in pre10

Post #1by fsgregs » 21.07.2004, 04:50

Hi guys:

In checking out Chris's new fix to pre 10 that corrected some problems with models, I discovered that the NASA MER Spirit and Opportunity models that were offered as add-ons some time ago, no longer display in pre10. To the best of my knowledge, they did display in pre8, although I'm not certain. The position is there (the dot displays) and clicking on the dot selects the model, but when you go there, no models are visible. I've obviously checked my ssc file for errors and found none. The only thing about these models is that they both depend upon an "invisible" that was positioned inside Mars, so that they stay in one position on Mars. They also have several textures inside their medres folder. I thought I read recently that 1.3.2 does not do multiple textured models any more??

This is the ssc quote from the Spirit ssc file:

### MER-A ROVER LANDING SITE
### Gusev

#Mars radius = 3396 + for mer rover add 0.0009 for radius = 3396.0009
#MER-A Latitude = -13.5
#MER-A Longitude = -176

"Spiritlandingplace" "Sol/Mars" #A dummy body to provide a suitable orbit centre
{
Radius 5
Class "invisible"

EllipticalOrbit {
Period 9e99 #Effectively stationary
SemiMajorAxis -842.016 #Desired radius * sin(Latitude)
AscendingNode 136.005 #Mars RotationOffset
Inclination 90 #Polar orbit
MeanAnomaly 90 #Fixed on Mars' rotation axis
}
}

"Spirit" "Sol/Mars/Spiritlandingplace"
{
Class "spacecraft"
InfoURL "http://marsoweb.arc.nasa.gov/"
Mesh "mer.3ds"
Radius 0.0009

EllipticalOrbit {
Period 1.02595675 #Mars' rotation period (in days)
SemiMajorAxis 3290.171 #Desired radius * cos(Latitude)
#Mars' RotationOffset = +136.005
MeanLongitude -49.5 #Subtract west longitude = -176
#Add 180 to reorientate on 3ds = +180
# =======
# 140.005
}
Orientation [0 1 0 0] # Latitude in x rotation
# Re-orient model = +90
# Mars' rotation Offset = +136.005
# Subtract west longitude = +4
# __________
# Result = 240.005
RotationOffset 310
Color [ 1 1 1 ]
Albedo 0.80
}

Both models are excellent, so any fix you can figure out would be appreciated.

Thanks

Frank

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #2by chris » 21.07.2004, 05:22

I haven't checked out the models, but I can say that 1.3.2 definitely does handle models with multiple textures.

--Chris

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #3by TERRIER » 21.07.2004, 20:35

Hello Frank

Have you tried positioning the models with the new "LongLat" feature ?
You can use it with the latest Celestia release, and it gets rid of the Invisible Placeholder. :D

I have the Spirit model that Jestr provided with his Gusev Crater model, and these are the settings;

Code: Select all

"Spirit" "Sol/Mars"
{
Class "spacecraft"
InfoURL "http://marsoweb.arc.nasa.gov/"
Mesh "spirit.3ds"
Radius 0.0009
LongLat [175.4785 -14.5718 0.001]
Color [ 0 0 0 ]
Albedo 0.15
}


You may need to change the final value of 0.001 in the [Long Lat Brackets] to bring the model closer to the surface if you are not resting it on the crater model !

I also have a .ssc file for Opportunity too;

Code: Select all

"Opportunity" "Sol/Mars"
{
Class "spacecraft"
InfoURL "http://marsoweb.arc.nasa.gov/"
Mesh "opportunity.3ds"
Radius 0.0009
LongLat [-6 -2.5 0.001]
Color [ 0 0 0 ]
Albedo 0.15
}


Hope these settings work for you.
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Post #4by fsgregs » 27.07.2004, 14:14

Yep, I tried the settings. All I get now is a 1/2 sphere (black). No model.

:cry:

Frank

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #5by granthutchison » 27.07.2004, 16:57

Looks like Celestia isn't finding the mesh. Are your models appropriately named and in the appropriate place?

Grant

Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Post #6by fsgregs » 28.07.2004, 16:57

Grant:

Thanks for the obvious tip. I had my ssc file outside of the "MER" sub-folder, so Celestia was not finding models and textures folders adjacent to the ssc. It works now. However, because we are not using placeholders anymore, the models are not aligned with the surface of Mars anymore, at least not on my Mars. I am not using the Gusev crater add-on but I don't see why that would make a difference. They need a rotation offset and an orientation.

I aligned them. Here are the ssc commands.

"Spirit" "Sol/Mars"
{
Class "spacecraft"
InfoURL "http://marsoweb.arc.nasa.gov/"
Mesh "spirit.3ds"
Radius 0.0009
LongLat [175.4785 -14.5718 0.13]
Color [ 0 0 0 ]
Orientation [-13 1 0 0]
RotationOffset -45
Albedo 0.15
}

"Opportunity" "Sol/Mars"
{
Class "spacecraft"
InfoURL "http://marsoweb.arc.nasa.gov/"
Mesh "spirit.3ds"
Radius 0.0009
LongLat [-6 -2.5 0.13]
Color [ 0 0 0 ]
Orientation [11 0 0 1]
RotationOffset 130
Albedo 0.15
}


I also had to change their height above Mars to 130 meters. Anything lower, and Celestia 1.3.2pre10 starts to show a black horizon. If you have better success with black horizons, change the 0.13 in the LongLat command to a smaller number.

It is strange that my old Spirit and Opportunity add-on using placeholders no longer works in 1.3.2pre10. :?: :?:

Frank

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #7by TERRIER » 28.07.2004, 17:53

fsgregs wrote:However, because we are not using placeholders anymore, the models are not aligned with the surface of Mars anymore, at least not on my Mars. I am not using the Gusev crater add-on but I don't see why that would make a difference. They need a rotation offset and an orientation.

Frank


Frank,
I think the difference is that you are using an original model, of the Mars rover.
Jestr produced a model for both Spirit and Opportunity, and I think he physically altered the orientation of each model within his modelling program to suit their positions on the Martian surface. :D

Must admit that I don't seem to be having any problems with a black horizon, except if I go 'under' the surface and look up (which is fair enough!) ,even with a setting of 0.001.

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #8by granthutchison » 28.07.2004, 19:02

fsgregs wrote:Thanks for the obvious tip.
Obvious tips I perform with ease ... :wink:

Grant


Return to “Bugs”