Drawing a better star

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Posts: 1
Joined: 27.02.2018
With us: 1 year 4 months

Post #81by krishnafbgroup » 28.02.2018, 08:28

Yes fact, with glare described as a Gaussian, extremely bright stars did not look like the ones in your image. With a Gaussian, the edges of the star get sharper as the brightness increases. This matches what we see for the core PSF, but the glare behaves differently.

Here's a very relevant paper titled "Physically-Based Glare Effects for Digital Images": http://citeseerx.ist.psu.edu/viewdoc/do ... 1&type=pdf

The authors describe the PSF for the eye as the sum of three terms: a central Gaussian, a theta^-2 term, and a theta^-3 term (where theta is the angle from the center of the light source.) Here's a sample image of the Southern Cross where Gaussian glare is replaced by G(1/(1 + k*r^3)), where G is the glare brightness, k is a constant that sets the glare falloff rate, and r is the distance in pixels. I deliberately did not the angular distance, as it's more desirable to resolve stars at high zoom factors than it is to try and realistically reproduce all the quirks of a real imaging system (and I realize that's what I did with the diffraction spikes, but they're aesthetically pleasing :) ).

Global Marketplace For Buying, Selling And Trading Goods And Services

Posts: 3
Joined: 09.04.2018
With us: 1 year 3 months

Post #82by mmontag » 09.04.2018, 22:28

Is anyone currently working on this? I would love to contribute to Celestia and maybe hack on this as my first entry into the void. I will be looking around the forum to try to figure out what the current state of the project is, whether Chris is still involved, etc. Is the github repository now the canonical source?

krishnafbgroup wrote:Here's a very relevant paper titled "Physically-Based Glare Effects for Digital Images": http://citeseerx.ist.psu.edu/viewdoc/do ... 1&type=pdf

The link is broken, but here's another copy:


Alexell M
Site Admin
Posts: 295
Joined: 07.10.2010
Age: 25
With us: 8 years 9 months
Location: Moscow, Russia

Post #83by Alexell » 28.05.2018, 23:41

mmontag, Hey. Chris will not return to the project. At least that's what he told me. Of the old developers, no one particularly expressed a desire to return to the project. Now we are developing Celestia by the forces of not indifferent people on Github. We will be happy if you will help with programming.
Admin of celestia.space
PC: Intel Core i7-8700 @ 3.20GHz, SSD, 16 Gb RAM, NVIDIA GeForce GTX 1080, Creative Sound Blaster ZxR. Windows 10 x64.
Phone: iPhone 7 Plus 128 Gb. iOS 11.

Topic author
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 17 years 5 months
Location: Seattle, Washington, USA

Post #84by chris » 01.06.2018, 17:49

I'm afraid that I'm still too busy for Celestia development, but here is what's possible with the new Gaia DR2 catalog:


This is an area the central Milky Way blocked by dark nebula Barnard 86 ("Herschel's Hole in the Heavens"). Nearby is open cluster NGC 6520.

No 3D information was used in this image—stars were rendered just using RA, declination, magnitude, and color index. The task for Celestia developers working with Gaia DR 2 is much more formidable, but definitely doable!



Posts: 439
Joined: 10.08.2016
With us: 2 years 11 months

Post #85by john71 » 02.06.2018, 17:26

Chris, it is very good to hear from you again! :)

You + Gaia DR 2 in the same post - it is too good to be true.

Return to “Ideas & News”

Who is online

Users browsing this forum: 2 guests