Jump to content

Celestial sphere demo (WIP) a.k.a. "My God, it's full of stars ..."


inteja
 Share

Recommended Posts

As @Wingnut asked for a sneak peak, here's my little celestial sphere demo (very much an early work in progress).

WIP link: Celestial sphere

What's the point you ask? If you want a realistic night sky then why not just use skybox textures of the Milky Way for which NASA have some great resources like here and here?

Well I thought it'd be fun to generate it dynamically based on real star map data of the 5000 brightest stars (about the maximum visible by the naked eye from Earth under ideal conditions). The data (right ascension, declination, color, magnitude etc) is a subset of the Tycho-2 Catalogue. This gives me more control over how the stars are rendered (relative scale, brightness, color enhancement, blending with other skyboxes, star "twinkle" effect, constellation lines etc). Ultimately I'd like to get to the stage where I can dynamically generate hyper-realistic, bordering on surreal, skies similar to what you see in the best landscape astro-photography like that of Mike Taylor.

To get a good result (be able to make out clear, crisp individual stars) using skybox textures, the resolution and resulting filesize and vram requirements need to be quite large, which isn't ideal for web deployment. This dynamic generation approach means I can use one very small texture to represent a single star, but at the cost of more triangles to render. The stars always look crisp and sharp.

Ultimately I'd like to blend this with a very low-res Milky Way skybox behind, combine it with the SkyMaterial, add the moon and phases, day/night transition, geolocation and date/time support etc. I don't want a full astronomy / night sky app, just a drop-in super-realistic and dynamic sky for future projects. Ambitious I know, but I have an astronomy maths book handy and I've made some progress on that front already ...

celestial-sphere-wip.png

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...