You are browsing as a guest. Sign up (or log in) to start making projects!

1h 56m 38s logged

Today I mostly pondered my simulation mechanics and did some amount of polishing.

Today’s Work:

  • Observing my simulation rendering and the values that I was getting from my mouse, it felt like the values weren’t exactly lining up.After ~30 minutes of pondering I have realized that the issue is that my rendering is flipped diagonally.
    • I’m not sure exactly why this is. It is probably due to how unity turns 2D arrays into buffersI
    • fixed it for good hopefully by re-writing the grid into a 1D array before passing it to the shaders
  • I also did more messing around with variables, and realized that the simulation is also somewhat unstable at really low temperatures
    • This is because I was diving diffused energy by zero at some point, I think I have fixed it
  • Fixed the temperature view. Though I will note that with how I currently measure it it is almost by definition uniform throughout the mixture.

Possible Next Steps:

  • Add in the capacity to simulate an arbitrary amount of gases
0
10

Comments 0

No comments yet. Be the first!