Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement - azimuthal grid + equatorial / galactic grid (low) #60

Open
johndpope opened this issue Dec 3, 2017 · 5 comments
Open

Comments

@johndpope
Copy link

johndpope commented Dec 3, 2017

I will endeavor to build an armillary sphere that can augment this app / it could be another section in app - will need these will map to earth celestial sphere. shots taken from

I appreciate that the screen shots below are a divergence to this project -
and intention is to illustrate how other apps are showing these things.
These views don't need to be implemented in app.
but the grid lines / drawings would be cool to illustrate in scenekit.
eg. where are the galactic poles

https://github.com/Stellarium/stellarium

screen shot 2017-12-02 at 10 27 30 pm

screen shot 2017-12-02 at 10 28 48 pm

screen shot 2017-12-02 at 10 29 46 pm

@johndpope
Copy link
Author

johndpope commented Dec 3, 2017

once we can work out one - should all fall into place.
Of course - this won't look like this in augmented solar system.
just 3d view wrapped around the earth sphere.

screen shot 2017-12-02 at 10 41 09 pm

screen shot 2017-12-02 at 10 41 23 pm

@johndpope
Copy link
Author

johndpope commented Dec 3, 2017

I wonder how this would look in 3d.

screen shot 2017-12-02 at 10 44 56 pm

screen shot 2017-12-02 at 10 44 03 pm

@johndpope johndpope changed the title enhancement - azimuthal grid + equatorial grid (low) enhancement - azimuthal grid + equatorial / galactic grid (low) Dec 3, 2017
@johndpope
Copy link
Author

from cosmographia 3d scene is available for this grid https://github.com/johndpope/cosmographia

screen shot 2017-12-04 at 11 16 47 am
screen shot 2017-12-04 at 11 16 34 am

@johndpope
Copy link
Author

http://worldwidetelescope.org/webclient/

screen shot 2018-02-28 at 11 05 48 am

https://github.com/jzuhone/openwwt-windows-client/blob/master/WWTCore/WWTCore/Constants.cs

EquatorialGrid, EquatorialGridText, GalacticGrid, GalacticGridText, EclipticGrid

@johndpope
Copy link
Author

https://github.com/cardinot/celestia/blob/bc9403d55fa592a7fc9a7a694aec783e9f62a37f/celestia/src/celengine/skygrid.cpp

// The maximum number of parallels or meridians that will be visible
const double MAX_VISIBLE_ARCS = 10.0;

// Number of line segments used to approximate one arc of the celestial sphere
const int ARC_SUBDIVISIONS = 100;

// Size of the cross indicating the north and south poles
const double POLAR_CROSS_SIZE = 0.01;

// Grid line spacing tables
static const int MSEC = 1;
static const int SEC = 1000;
static const int MIN = 60 * SEC;
static const int DEG = 60 * MIN;
static const int HR  = 60 * MIN;

static const int HOUR_MIN_SEC_TOTAL = 24 * HR;
static const int DEG_MIN_SEC_TOTAL  = 180 * DEG;

static const int HOUR_MIN_SEC_SPACING[] =
{
    2*HR,
    1*HR,
    30*MIN,
    15*MIN,
    10*MIN,
    5*MIN,
    3*MIN,
    2*MIN,
    1*MIN,
    30*SEC,
    15*SEC,
    10*SEC,
    5*SEC,
    3*SEC,
    2*SEC,
    1*SEC,
    500*MSEC,
    200*MSEC,
    100*MSEC
};

static const int DEG_MIN_SEC_SPACING[]  =
{
    30*DEG,
    15*DEG,
    10*DEG,
    5*DEG,
    3*DEG,
    2*DEG,
    1*DEG,
    30*MIN,
    15*MIN,
    10*MIN,
    5*MIN,
    3*MIN,
    2*MIN,
    1*MIN,
    30*SEC,
    15*SEC,
    10*SEC,
    5*SEC,
    3*SEC,
    2*SEC,
    1*SEC,
    500*MSEC,
    200*MSEC,
    100*MSEC
};
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant