Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.67 KB

README.MD

File metadata and controls

54 lines (40 loc) · 1.67 KB

Overview

Semester project by Loïc Serafin, Spring 2020
Supervised by Frédéric Kaplan & Nils Hamel



This project responds to a need to adapt an existing graphical engine programmed in OpenGL to Web usage. It explores a solution where graphics rendering is performed on a dedicated server and streamed to a basic Web client, where this client is only tasked with display and user inputs controlling. It implements this server using C++ and Vulkan, which allows high-performance rendering.

The main project can be found on https://github.com/nils-hamel/eratosthene-suite.

alt text

Dependencies

This client depends on following libraries:

  • Vulkan SDK (1.2+)
  • GLFW 3.2

You also need the following tools:

Code dependencies can be found in the code/include folder, where some libraries are used to simplify specific needs for the server.

Build

The project is targeted for Linux servers only, and has been tested on a Ubuntu 18.04 desktop machine.

To build the project, you can use the command

$ make all

To clean the project, you can use the command

$ make clean

The project is configured with CMake, so the project could also easily be imported to another CMake project as an external library.

Usage

To run the project, make sure your current working directory is the project's base directory (eratosthene-stream) and run the executable:

$ bin/eratosthene-stream

You can also pass a .ply file to render this model instead of the default debugging one :

$ bin/eratosthene−stream "/path/to/file.ply"