Re: Need a help

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
6zayn
Posts: 1
Joined: 26.06.2019
With us: 5 months 11 days

Re: Need a help

Post #1by 6zayn » 26.06.2019, 19:45

Hi everyone!

The problem in celestia is that scripts {celx} have a clock unrelated to the simulation clock.
This meant that while you could record your own movements easily.
Trying to record a script which you just watched work perfectly, would fail because they would come out of sync.
Which has prevented prerecording of presentations using celestia.

I found this because while system could handle 200+ fps, I was recording at ~30fps.
Because of the way celestia works, it was trying to record at 200+ fps, with the simulation clock advancing a frame slice.
Or to put it simply, the simulation was advancing its clock 1/30s @ 200+ times per second.
I got around it via brute force, it had no elegance.

I was able to come up with a new way to keep realtime sync.
While it is not as nice as having the scripts use the simulation clock, something I am still working on.
What it does is only record at the capture rate, regardless of the display rate. {Celestia calls the frame capture each tick.}
Therefore, a ten minute script, will require ten minutes to record.
Recording at greater or lesser than realtime will require celx to use the simulation clock.

Thanks.

Avatar
Gurren Lagann
Posts: 162
Joined: 31.01.2018
Age: 13
With us: 1 year 10 months
Location: State of Rio de Janeiro, Brazil

Post #2by Gurren Lagann » 26.06.2019, 20:37

Possible spambot?

Avatar
SpaceFanatic64
Posts: 400
Joined: 16.08.2018
Age: 13
With us: 1 year 3 months
Location: Southern California

Post #3by SpaceFanatic64 » 26.06.2019, 20:50

Likely so. Report the post if you find any unrelated links.
Follower of the "Celestia Origin" project
Graphics Card: ATI Radeon 3000 Graphics

pirogronian
Developer
Posts: 208
Joined: 05.01.2018
Age: 33
With us: 1 year 11 months
Location: Wrocław
Contact:

Post #4by pirogronian » 26.06.2019, 20:54

SpaceFanatic64 wrote:Report the post if you find any unrelated links.

I already approved this post, because I didn't found any unrelated information. Moreover, I think that I also encountered this issue.

Janus
Posts: 441
Joined: 13.08.2016
With us: 3 years 3 months

Post #5by Janus » 26.06.2019, 23:01

I have posted on this before.
It reminds of one of my earlier posts on it in fact.

I have a source level tweak I use on my own forks that works around this, but it is not a part of the main branch.

No one has shown much interest, so I have not pursued done anything further here.


Janus.

Avatar
SpaceFanatic64
Posts: 400
Joined: 16.08.2018
Age: 13
With us: 1 year 3 months
Location: Southern California

Post #6by SpaceFanatic64 » 26.06.2019, 23:16

Yes, but like most spambots here, it can take days, weeks, or even months for the bots to change their post to include links.
Follower of the "Celestia Origin" project
Graphics Card: ATI Radeon 3000 Graphics

onetwothree
Developer
Posts: 341
Joined: 22.09.2018
With us: 1 year 2 months

Post #7by onetwothree » 27.06.2019, 09:31

Spam bot. The message has been copied from viewtopic.php?f=4&t=18688

pirogronian
Developer
Posts: 208
Joined: 05.01.2018
Age: 33
With us: 1 year 11 months
Location: Wrocław
Contact:

Post #8by pirogronian » 27.06.2019, 09:48

Ok. Spambot banned.

Avatar
Lafuente_Astronomy
Moderator
Posts: 470
Joined: 04.08.2018
Age: 21
With us: 1 year 4 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #9by Lafuente_Astronomy » 28.06.2019, 10:02

onetwothree wrote:Spam bot. The message has been copied from viewtopic.php?f=4&t=18688

That's bad! Spam Bots can copy some of our messages now!
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.


Return to “Help Central”

Who is online