fractions of a second

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

fractions of a second

Post #1by rthorvald » 29.05.2005, 23:48

I just found out that Celestia does not seem to understand fractions of a second in julian.

After using all day to line up jestr??s Huygens XYZ file with the landing coordinates, i finally have the free flight model intersecting the landed version quite nicely, but it happens between two ticks of the clock, so it seems to be impossible to switch them at the exact moment... Not a big deal perhaps, but the probe goes down so fast, one has to slow down time to see the impact. And so it is *very* noticeable; the free flight model goes hundreds of meters past before Celestia hides it and brings the landed version up!

Any ideas for a workaround? Or is my Celestia perhaps buggy?

Thanks,
rthorvald

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 30.05.2005, 00:36

Well, maybe you could cheat and set the last xyz value to be the landing location.
Selden

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #3by rthorvald » 30.05.2005, 05:02

selden wrote:Well, maybe you could cheat and set the last xyz value to be the landing location.


Thanks for the suggestion, but doing that doesn??t really help; i still need to switch the models at the correct time...

-rthorvald

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

Post #4by TERRIER » 01.06.2005, 18:58

rthorvald wrote:
selden wrote:Well, maybe you could cheat and set the last xyz value to be the landing location.

Thanks for the suggestion, but doing that doesn??t really help; i still need to switch the models at the correct time...

-rthorvald


I'm not entirely sure, but would inserting this "correct time" (along with appropriate xyz co-ords) into the xyz file, then enable it to be recognised by the .ssc file ?
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

jestr
Posts: 612
Joined: 14.09.2003
With us: 21 years 2 months
Location: Bridgwater,UK

Post #5by jestr » 02.06.2005, 00:07

It might,but there is a limit to the accuracy of the xyz coordinates in Celestia.There are certain parts of space that cannot be plotted in xyz coordinates in Celestia-the fractions are rounded up or down.I'm not sure if the gaps get larger the further from the origin you are,I have found it easier to pinpoint closer in towards the sun.Also Celestia's orbits drawn from the xyz points are not always a smooth curve so often the object will overshoot the coordinate before retracting back sharply.If you could find a point on the XYZ coordinate 'grid' where it intersects Titan-close to the landing site,you could move the landing site here,and it could work.Jestr

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #6by rthorvald » 03.06.2005, 18:23

TERRIER wrote:I'm not entirely sure, but would inserting this "correct time" (along with appropriate xyz co-ords) into the xyz file, then enable it to be recognised by the .ssc file ?
Good idea, it??s worth a try...

jestr wrote:If you could find a point on the XYZ coordinate 'grid' where it intersects Titan-close to the landing site,you could move the landing site here,and it could work.Jestr


Yes, i considered this... But i don??t want to move the site. Then it??s better to let it stay the way it is.

Anyway, thanks for all your suggestions. I??ll continue to play with it, maybe something will turn up.

-rthorvald


Return to “Development”