Salta al contenuto
0
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
Collassa

Forum Federato

Di Piero Bosio
  1. Home
  2. Categorie
  3. Senza categoria
  4. So I've sprinkled a bunch of doubles here and there and indeed the jarring issue was caused by fp imprecisions.

So I've sprinkled a bunch of doubles here and there and indeed the jarring issue was caused by fp imprecisions.

Pianificato Fissato Bloccato Spostato Senza categoria
indiegamesindiedevgamedev
2 Post 1 Autori 7 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.
  • Nikita Lisitsaundefined Questo utente è esterno a questo forum
    Nikita Lisitsaundefined Questo utente è esterno a questo forum
    Nikita Lisitsa
    scritto su ultima modifica di
    #1

    So I've sprinkled a bunch of doubles here and there and indeed the jarring issue was caused by fp imprecisions. (There're some minor logic issues as well, but not in the raycast code itself.)

    Time to rewrite everything in fixed-point, I guess 🥲

    #indiegames #indiedev #gamedev

    Nikita Lisitsaundefined 1 Risposta Ultima Risposta
    • Nikita Lisitsaundefined Nikita Lisitsa

      So I've sprinkled a bunch of doubles here and there and indeed the jarring issue was caused by fp imprecisions. (There're some minor logic issues as well, but not in the raycast code itself.)

      Time to rewrite everything in fixed-point, I guess 🥲

      #indiegames #indiedev #gamedev

      Nikita Lisitsaundefined Questo utente è esterno a questo forum
      Nikita Lisitsaundefined Questo utente è esterno a questo forum
      Nikita Lisitsa
      scritto su ultima modifica di
      #2

      Btw "rewrite everything" is of course overly dramatic, in reality I need to store all absolute world-space coordinates in fixed-point, make sure all computations are in relative coords, and figure out a few camera-related issues.

      Still, that's a lot of rewriting.

      I already have fixed-point numbers implemented, and my maths lib is templated on scalar type everywhere, so at least it's an order of magnitude less painful than it could be.

      1 Risposta Ultima Risposta
      1
      • Oblomovundefined Oblomov ha condiviso questa discussione
      Rispondi
      • Topic risposta
      Effettua l'accesso per rispondere
      • Da Vecchi a Nuovi
      • Da Nuovi a Vecchi
      • Più Voti


      • Accedi

      • Accedi o registrati per effettuare la ricerca.
      • Primo post
        Ultimo post