rokcej / liquid-environments

Implementation of my Bachelor's thesis

Home Page:https://rokcej.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real-time Rendering of Liquid Environments

This project was developed for my Bachelor's thesis, which can be accessed here.

A live demo of the application is available here.

Abstract

This thesis presents a way of rendering scenes that are completely submerged in liquids, also referred to as liquid environments. Liquids are the source of unique optical and physical phenomena such as light scattering, light extinction, turbulent flow, and the presence of foreign particles. Each phenomenon is approached separately, using various techniques to create a visual effect that approximates it. These effects are then combined into a generalized model, which can simulate the appearance of liquid environments with configurable physical properties. The model is implemented in a platform-independent manner using JavaScript and WebGL. Additionally, it achieves interactive performance by heavily utilizing graphical hardware, making it suitable for real-time applications. A performance evaluation is also done, comparing the computational cost of each effect, as well as the complete model in practical situations.

Examples

The following images were generated using this model.

Clear water example

Dirty water example

Snow example

Smoke example

About

Implementation of my Bachelor's thesis

https://rokcej.github.io

License:MIT License


Languages

Language:JavaScript 80.1%Language:GLSL 19.8%Language:CSS 0.1%Language:HTML 0.1%