Skip to content

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

Open

Description

@johndpope

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

Activity

  1. johndpope commented on Dec 3, 2017

    @johndpope
    Author

    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

  2. johndpope commented on Dec 3, 2017

    @johndpope
    Author

    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

  3. changed the title [-]enhancement - azimuthal grid + equatorial grid (low)[/-] [+]enhancement - azimuthal grid + equatorial / galactic grid (low)[/+] on Dec 3, 2017
  4. johndpope commented on Dec 4, 2017

    @johndpope
    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

  5. johndpope commented on Feb 28, 2018

    @johndpope
    Author
  6. johndpope commented on Feb 28, 2018

    @johndpope
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions