Carleton University - School of Computer Science Honours Project
Summer 2021
Simulating Liquid in a Bottle
Zahid Dawod
SCS Honours Project Image
ABSTRACT
The objective of this project was to replicate the liquid shader effect in OpenGL/C++ that was used in the Half-Life: Alyx game published by Valve Corporation. Preparation required creating a rendering pipeline for 3D models to be read from file and rendered to a vertex buffer on the GPU. As well as learning GLSL for writing shader code that mimics liquid inside of a bottle on top of which using external forces to manipulate the liquid in a manner that looked realistic. Adding additional features such as a foam line and adjustable fill amount for a bottle.