Inlägg

Step 1: Creating a Box and a Tap

Bild
To kick of the project, our first step was to implement a box for the water to fall into and a tap from where the water would flow from. In this step the water consists of multiple blue spheres, very clearly distinguishable from each other. The box was created using 5 unity cubes, transformed into wall-like objects. One of the walls was set to be invisible so that the action inside would be clearly visible for the camera that was placed outside the box. One could argue that the camera could simply be placed  inside the box, however we decided that a better view was given from the outside as the water could go behind the camera otherwise. This placement also gives a better view if we were to implement the possibility to rotate the cube real time. The tap is an invisible object that is mainly run by a script. The script creates "running water" by, for each time step, creating a burst of spheres that are poured into the cube. This is then repeated until the maximum amount of...

Introduction

Bild
Our group consists of two group members: Ajla Elmasdotter: ajlac@kth.se Alvaro Ortega Mattsson: alvaroog@kth.se Today we finished our project specification. In it we mention that we are going to create a water fluid simulation based on Navier-Stokes equation. The simulation will be created using Unity3D. We found a research paper that covers real-time simulations in Unity3D, we plan to use this as our basis to this project. Our first goal will be to replicate this simulation, created by Nvidia with Unreal: And if there is time left, we would like to improve the simulation by applying shaders to make the water look "more realistic".