Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
Skin
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Web Site

Forum federato con il resto del mondo. Non contano le istanze, contano le persone

  1. Home
  2. Categorie
  3. Senza categoria
  4. i nerd sniped myself tonight and i imagine the NSA operative who is assigned to me is very confused by the increasingly erratic and frustrated google searches for HOW DO I CALCULATE THE MOON WHERE IS THE MOON

i nerd sniped myself tonight and i imagine the NSA operative who is assigned to me is very confused by the increasingly erratic and frustrated google searches for HOW DO I CALCULATE THE MOON WHERE IS THE MOON

Pianificato Fissato Bloccato Spostato Senza categoria
31 Post 5 Autori 1 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • Josh Simmonsundefined Josh Simmons

    @aeva @jon_valdes I'm trying to remember what program we use to generate location accurate star charts in Avatar and Division... Maybe it can do the moon as well, will look it up later.

    Josh Simmonsundefined Questo utente è esterno a questo forum
    Josh Simmonsundefined Questo utente è esterno a questo forum
    Josh Simmons
    scritto su ultima modifica di
    #11

    @aeva @jon_valdes alright I think we just use data from sdss and reproject it for alpha centuri, blindly extrapolating for the correct date using the star velocity. so no complex orbital mechanics. However for the planetary bodies in solar system we use code derived from https://stjarnhimlen.se/comp/ppcomp.html

    Jon Valdésundefined 1 Risposta Ultima Risposta
    • Josh Simmonsundefined Josh Simmons

      @aeva @jon_valdes alright I think we just use data from sdss and reproject it for alpha centuri, blindly extrapolating for the correct date using the star velocity. so no complex orbital mechanics. However for the planetary bodies in solar system we use code derived from https://stjarnhimlen.se/comp/ppcomp.html

      Jon Valdésundefined Questo utente è esterno a questo forum
      Jon Valdésundefined Questo utente è esterno a questo forum
      Jon Valdés
      scritto su ultima modifica di
      #12

      @dotstdy @aeva oh, nice!

      Word of caution about calculating these things on the GPU: implementations of trigonometric functions on the GPU are less accurate than you'd hope, and if you calculate a bunch of sin() and cos() for your view direction per pixel, they turn out not to be accurate enough for stable movement across a 60° fov on a 4K screen. Particularly Intel, which seems to barely pass the D3D precision requirements there...

      Josh Simmonsundefined 1 Risposta Ultima Risposta
      • Jon Valdésundefined Jon Valdés

        @dotstdy @aeva oh, nice!

        Word of caution about calculating these things on the GPU: implementations of trigonometric functions on the GPU are less accurate than you'd hope, and if you calculate a bunch of sin() and cos() for your view direction per pixel, they turn out not to be accurate enough for stable movement across a 60° fov on a 4K screen. Particularly Intel, which seems to barely pass the D3D precision requirements there...

        Josh Simmonsundefined Questo utente è esterno a questo forum
        Josh Simmonsundefined Questo utente è esterno a questo forum
        Josh Simmons
        scritto su ultima modifica di
        #13

        @jon_valdes @aeva right, yeah I should also mention all that is done on the cpu, and with double precision. I'm not really sure if you can even squeeze it to work with f32.

        Jon Valdésundefined 1 Risposta Ultima Risposta
        • Josh Simmonsundefined Josh Simmons

          @jon_valdes @aeva right, yeah I should also mention all that is done on the cpu, and with double precision. I'm not really sure if you can even squeeze it to work with f32.

          Jon Valdésundefined Questo utente è esterno a questo forum
          Jon Valdésundefined Questo utente è esterno a questo forum
          Jon Valdés
          scritto su ultima modifica di
          #14

          @dotstdy @aeva at least for star positioning f32 was barely enough for me... as long as I rolled my own trig functions

          aevaundefined 1 Risposta Ultima Risposta
          • Jon Valdésundefined Jon Valdés

            @dotstdy @aeva at least for star positioning f32 was barely enough for me... as long as I rolled my own trig functions

            aevaundefined Questo utente è esterno a questo forum
            aevaundefined Questo utente è esterno a questo forum
            aeva
            scritto su ultima modifica di
            #15

            @jon_valdes @dotstdy blessedly I'm planning on doing this on the cpu, but 😧

            Jon Valdésundefined 1 Risposta Ultima Risposta
            • aevaundefined aeva

              @jon_valdes @dotstdy blessedly I'm planning on doing this on the cpu, but 😧

              Jon Valdésundefined Questo utente è esterno a questo forum
              Jon Valdésundefined Questo utente è esterno a questo forum
              Jon Valdés
              scritto su ultima modifica di
              #16

              @aeva @dotstdy if you want to see this in action, open this shadertoy on a few different GPUs and compare the output on each. Particularly fun if you have a pre-Arc Intel GPU...

              https://www.shadertoy.com/view/dtlyD8

              aevaundefined 1 Risposta Ultima Risposta
              • Jon Valdésundefined Jon Valdés

                @aeva @dotstdy if you want to see this in action, open this shadertoy on a few different GPUs and compare the output on each. Particularly fun if you have a pre-Arc Intel GPU...

                https://www.shadertoy.com/view/dtlyD8

                aevaundefined Questo utente è esterno a questo forum
                aevaundefined Questo utente è esterno a questo forum
                aeva
                scritto su ultima modifica di
                #17

                @jon_valdes @dotstdy my laptop has a recent-ish Xe gpu

                aevaundefined Jon Valdésundefined 2 Risposte Ultima Risposta
                • aevaundefined aeva

                  @jon_valdes @dotstdy my laptop has a recent-ish Xe gpu

                  aevaundefined Questo utente è esterno a questo forum
                  aevaundefined Questo utente è esterno a questo forum
                  aeva
                  scritto su ultima modifica di
                  #18

                  @jon_valdes @dotstdy it's bizarre seeing my 10 year old telephone's mali do better at... anything at all

                  aevaundefined 1 Risposta Ultima Risposta
                  • aevaundefined aeva

                    @jon_valdes @dotstdy it's bizarre seeing my 10 year old telephone's mali do better at... anything at all

                    aevaundefined Questo utente è esterno a questo forum
                    aevaundefined Questo utente è esterno a questo forum
                    aeva
                    scritto su ultima modifica di
                    #19

                    @jon_valdes @dotstdy though I guess the corner the intel case is cutting is where the slope starts to level out so I guess that makes sense. are CPU trig functions just as bad?

                    aevaundefined 1 Risposta Ultima Risposta
                    • aevaundefined aeva

                      @jon_valdes @dotstdy though I guess the corner the intel case is cutting is where the slope starts to level out so I guess that makes sense. are CPU trig functions just as bad?

                      aevaundefined Questo utente è esterno a questo forum
                      aevaundefined Questo utente è esterno a questo forum
                      aeva
                      scritto su ultima modifica di
                      #20

                      @jon_valdes @dotstdy would mollytime get a warmer, fuller sound if i switched to expensive software sine waves :3

                      Josh Simmonsundefined 1 Risposta Ultima Risposta
                      • aevaundefined aeva

                        @jon_valdes @dotstdy would mollytime get a warmer, fuller sound if i switched to expensive software sine waves :3

                        Josh Simmonsundefined Questo utente è esterno a questo forum
                        Josh Simmonsundefined Questo utente è esterno a questo forum
                        Josh Simmons
                        scritto su ultima modifica di
                        #21

                        @aeva @jon_valdes generally cpu trig is not so bad, but does vary between platforms if you're just calling the c stdlib functions (but we're talking differences of 1 ulp or so). so yes, absolutely you can get a warmer fuller soundstage by switching to a different sin.

                        aevaundefined 1 Risposta Ultima Risposta
                        • aevaundefined aeva

                          @jon_valdes @dotstdy my laptop has a recent-ish Xe gpu

                          Jon Valdésundefined Questo utente è esterno a questo forum
                          Jon Valdésundefined Questo utente è esterno a questo forum
                          Jon Valdés
                          scritto su ultima modifica di
                          #22

                          @aeva @dotstdy Yup! I was using trig to calculate screen positions for the stars. And as the skydome rotates, when the sin/cos of some stars happened to cross those bright lines you're seeing, they'd first slow down, and then jump over a very specific line in the sky. Was great 🙄

                          aevaundefined 1 Risposta Ultima Risposta
                          • Jon Valdésundefined Jon Valdés

                            @aeva @dotstdy Yup! I was using trig to calculate screen positions for the stars. And as the skydome rotates, when the sin/cos of some stars happened to cross those bright lines you're seeing, they'd first slow down, and then jump over a very specific line in the sky. Was great 🙄

                            aevaundefined Questo utente è esterno a questo forum
                            aevaundefined Questo utente è esterno a questo forum
                            aeva
                            scritto su ultima modifica di
                            #23

                            @jon_valdes @dotstdy 😧

                            1 Risposta Ultima Risposta
                            • Josh Simmonsundefined Josh Simmons

                              @aeva @jon_valdes generally cpu trig is not so bad, but does vary between platforms if you're just calling the c stdlib functions (but we're talking differences of 1 ulp or so). so yes, absolutely you can get a warmer fuller soundstage by switching to a different sin.

                              aevaundefined Questo utente è esterno a questo forum
                              aevaundefined Questo utente è esterno a questo forum
                              aeva
                              scritto su ultima modifica di
                              #24

                              @dotstdy @jon_valdes maybe I'll call the expensive exact soft sin oscillator "gold plated sin" 🤔

                              demofoxundefined 1 Risposta Ultima Risposta
                              • aevaundefined aeva

                                @dotstdy @jon_valdes maybe I'll call the expensive exact soft sin oscillator "gold plated sin" 🤔

                                demofoxundefined Questo utente è esterno a questo forum
                                demofoxundefined Questo utente è esterno a questo forum
                                demofox
                                scritto su ultima modifica di
                                #25

                                @aeva @dotstdy @jon_valdes start a new genre "deca-dance"

                                aevaundefined 1 Risposta Ultima Risposta
                                • demofoxundefined demofox

                                  @aeva @dotstdy @jon_valdes start a new genre "deca-dance"

                                  aevaundefined Questo utente è esterno a questo forum
                                  aevaundefined Questo utente è esterno a questo forum
                                  aeva
                                  scritto su ultima modifica di
                                  #26

                                  @demofox @dotstdy @jon_valdes well so far I can't tell the difference by ear between the soft sin and the double precision sin that clang gives me

                                  aevaundefined 1 Risposta Ultima Risposta
                                  • aevaundefined aeva

                                    @demofox @dotstdy @jon_valdes well so far I can't tell the difference by ear between the soft sin and the double precision sin that clang gives me

                                    aevaundefined Questo utente è esterno a questo forum
                                    aevaundefined Questo utente è esterno a questo forum
                                    aeva
                                    scritto su ultima modifica di
                                    #27

                                    @demofox @dotstdy @jon_valdes assuming I didn't screw anything up adapting Jon's shader toy, the 30 iteration soft sin also has the surprising property of being able to clip out of the expected -1.0 to 1.0 output range https://github.com/Aeva/mollytime/blob/af58e9237903856b6193a116ae6408038dc47d4a/src/patch.cpp#L319

                                    Tom Forsythundefined 1 Risposta Ultima Risposta
                                    • aevaundefined aeva

                                      @demofox @dotstdy @jon_valdes assuming I didn't screw anything up adapting Jon's shader toy, the 30 iteration soft sin also has the surprising property of being able to clip out of the expected -1.0 to 1.0 output range https://github.com/Aeva/mollytime/blob/af58e9237903856b6193a116ae6408038dc47d4a/src/patch.cpp#L319

                                      Tom Forsythundefined Questo utente è esterno a questo forum
                                      Tom Forsythundefined Questo utente è esterno a questo forum
                                      Tom Forsyth
                                      scritto su ultima modifica di
                                      #28

                                      @aeva @demofox @dotstdy @jon_valdes There's lots of versions of CPU sin/cos as well. The fastest is basically identical to the GPU one - about 12 bits of precision, IIRC. Then they do iteration internally if you want higher precision. There's no magic - everything costs!

                                      As you noticed, sometimes it's better not to call sin-vs-cos, because you're not guaranteed to get magnitude 1.0. In those cases it's better to get sin and derive the other by doing sqrt(1-sin^2).

                                      Tom Forsythundefined 1 Risposta Ultima Risposta
                                      • Tom Forsythundefined Tom Forsyth

                                        @aeva @demofox @dotstdy @jon_valdes There's lots of versions of CPU sin/cos as well. The fastest is basically identical to the GPU one - about 12 bits of precision, IIRC. Then they do iteration internally if you want higher precision. There's no magic - everything costs!

                                        As you noticed, sometimes it's better not to call sin-vs-cos, because you're not guaranteed to get magnitude 1.0. In those cases it's better to get sin and derive the other by doing sqrt(1-sin^2).

                                        Tom Forsythundefined Questo utente è esterno a questo forum
                                        Tom Forsythundefined Questo utente è esterno a questo forum
                                        Tom Forsyth
                                        scritto su ultima modifica di
                                        #29

                                        @aeva @demofox @dotstdy @jon_valdes Also, if you care about precision at all, do range reduction yourself beforehand. Otherwise you have no idea how it's being done internally.

                                        aevaundefined 1 Risposta Ultima Risposta
                                        • Tom Forsythundefined Tom Forsyth

                                          @aeva @demofox @dotstdy @jon_valdes Also, if you care about precision at all, do range reduction yourself beforehand. Otherwise you have no idea how it's being done internally.

                                          aevaundefined Questo utente è esterno a questo forum
                                          aevaundefined Questo utente è esterno a questo forum
                                          aeva
                                          scritto su ultima modifica di
                                          #30

                                          @TomF @demofox @dotstdy @jon_valdes I already do the range reduction. I learned that the hard way once upon a time XD

                                          1 Risposta Ultima Risposta
                                          Rispondi
                                          • Topic risposta
                                          Effettua l'accesso per rispondere
                                          • Da Vecchi a Nuovi
                                          • Da Nuovi a Vecchi
                                          • Più Voti


                                          Gli ultimi otto messaggi ricevuti dalla Federazione
                                          • aevaundefined
                                            aeva

                                            today's extremely basic astronomy question that i'm finding surprisingly difficult to find an answer to: are geographic coordinates and equatorial coordinates the same coordinate system except one is for looking up and the other is for looking down, or is there some essential conversion step needed to correlate them?

                                            https://en.wikipedia.org/wiki/Geographic_coordinate_system

                                            https://en.wikipedia.org/wiki/Equatorial_coordinate_system

                                            per saperne di più

                                          • L'Anarchiversitarioundefined
                                            L'Anarchiversitario

                                            Monticelli brusati: dal 12 al 14 settembre torna la tenda di solidarietÀ dei sanitari per gaza
                                            @anarchia
                                            Dal 12 al 14 settembre nuovo appuntamento con la Tenda di solidarietà promossa dal gruppo Sanitari per Gaza Brescia. Località scelta per questa nuova iniziativa solidale e dal basso con la popolazione palestinese, Monticelli Brusati, presso il https://www.rivoluzioneanarchica.it/monticelli-brusati-dal-12-al-14-settembre-torna-la-tenda-di-solidarieta-dei-sanitari-per-gaza/

                                            per saperne di più

                                          • Ginaundefined
                                            Gina

                                            @bagder congratulations!! 🥳🎉

                                            per saperne di più

                                          • Ginaundefined
                                            Gina

                                            @andyn it does, and at the same time Nepal's Gen Z just succesfully toppled their corrupt gov, so there's hope?

                                            per saperne di più

                                          • Andyundefined
                                            Andy

                                            🥸 Everything kinda sucks, doesn’t it?

                                            per saperne di più

                                          • Snow  :gnu: :tux: :debian:undefined
                                            Snow :gnu: :tux: :debian:

                                            @eccosilvia 😑

                                            per saperne di più

                                          • Silviaundefined
                                            Silvia

                                            @snow Oh mamma ! Ormai si aspetta solo di sapere quale azione sarà la miccia. 😖
                                            Teniamoci vicini 😵‍💫

                                            per saperne di più

                                          • Antilope Fusa 🏀:startrek:🖖undefined
                                            Antilope Fusa 🏀:startrek:🖖

                                            @thegib è quello che sostengo io, forse la seconda è quella che preferisco finora, ma è più una questione di episodi che di stagioni.

                                            Capitan Marvel Batel mi ha fatto ridere, si infatti degna conclusione.

                                            Tanti rimandi anche questo vero, peggio che bere una birra romulana!

                                            @extratrek @Godai71

                                            per saperne di più
                                          • Accedi

                                          • Accedi o registrati per effettuare la ricerca.
                                          Powered by NodeBB Contributors
                                          • Primo post
                                            Ultimo post