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

Jon Valdésundefined

Jon Valdés

@jon_valdes@mastodon.gamedev.place
Informazioni
Post
5
Discussioni
0
Condivisioni
0
Gruppi
0
Da chi è seguito
0
Chi segue
0

Visualizza l'originale

Post

Recenti

  • 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
    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

    Senza categoria

  • 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
    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...

    Senza categoria

  • 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
    Jon Valdésundefined Jon Valdés

    @aeva perhaps the easiest way would be to look at how other programs do it. I spent a bunch of time reading code for Stellarium, for example. Perhaps that, or a website like this could help you?
    https://eyes.nasa.gov/apps/orrery/#/moon?time=2025-09-10T04:57:12.041+00:00

    Senza categoria

  • 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
    Jon Valdésundefined Jon Valdés

    @aeva what I found is most methods for calculating these things are approximations that break down if you deviate from the year 2000 by more than 5 millenia or something. It just depends on what you consider a "useful" approximation 😅

    Senza categoria

  • 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
    Jon Valdésundefined Jon Valdés

    @aeva oh boy. I went down the rabbit hole of calculating star positions a few years ago, and the whole thing is... convoluted. Step one was calculating the Earth Rotation Angle, and that was... urgg

    Senza categoria
  • Accedi

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