Project "Celestia Origin", release dated December 30, 2017
- Gurren Lagann
- Posts: 434
- Joined: 31.01.2018
- Age: 18
- With us: 6 years 9 months
- Location: State of Rio de Janeiro, Brazil
That explains why my GN-z11 was super dim (+42 apparent magnitude).Art Blos wrote:Here used light distance (13,4 billion ly), otherwise Celestia incorrectly calculates the apparent magnitude.Gurren Lagann wrote:I wonder if you put at its actual distance (32 billion ly), Celestia 1.6.1 supports distances up to between 3-6 trillion ly.
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)
Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)
Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator
@Burbach & @Art Blos
Had some time to kill while a compile crawls toward eventual completion.
The only place I can quickly find calculations for distance visibility of stars are these.
I hope this helps.
The formula can be changed and recompiled quite easily if needed.
src\celengine\astro.cpp
src\celengine\astro.h
Good luck.
Janus.
Had some time to kill while a compile crawls toward eventual completion.
The only place I can quickly find calculations for distance visibility of stars are these.
I hope this helps.
The formula can be changed and recompiled quite easily if needed.
src\celengine\astro.cpp
Code: Select all
// Return the apparent magnitude of a star with lum times solar
// luminosity viewed at lyrs light years
float astro::lumToAppMag(float lum, float lyrs)
{
return absToAppMag(lumToAbsMag(lum), lyrs);
}
src\celengine\astro.h
Code: Select all
template<class T> T absToAppMag(T absMag, T lyrs)
{
return (T) (absMag - 5 + 5 * log10(lyrs / LY_PER_PARSEC));
}
template<class T> T appToAbsMag(T appMag, T lyrs)
{
return (T) (appMag + 5 - 5 * log10(lyrs / LY_PER_PARSEC));
}
Good luck.
Janus.
Notifications [44] Share in vk.com Share in Google Plus Share in facebook.com Share in twitter.com Print view Email topi
Hi Art Bios.
Is there any estimated date for the next release?
Thank you for all your work, very appreciated.
Bye.
Goofy
Is there any estimated date for the next release?
Thank you for all your work, very appreciated.
Bye.
Goofy
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
- FarGetaNik
- Posts: 484
- Joined: 05.06.2012
- With us: 12 years 5 months
- Location: Germany