Skip to content

ZgzInfinity/Geminis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geminis

Computer Graphics 2019-20

Please, go to the Wiki in order to be able to see the work done in the different phases and projects of the course

Project Phases

Theme End date Status
Geometry 14-10-2019 tic_correcto
Imaging 29-10-2019 tic_correcto
Ray Tracing 27-11-2019 tic_correcto
Path Tracing 03-02-2020 tic_correcto
Photon Mapping 03-02-2020 tic_correcto

Compilation and execution

The repository contains a set of folders where the code is located. Each folder is a project of the course and can be compiled in a independent wa due to there is a makefile for each one.

In order to compile the projects, you must be in the directory and introduce the following commands in your terminal:

  • Geometry:
$> make clean
$> make 
$> bin/geometry

 

  • Tone Mapping:
$> make clean
$> make 
$> bin/toneMapping media/ <image_file>

 

  • Ray Tracing:
$> make clean
$> make 
$> bin/rayTracing <rays per pixel> <width of image> <height of image> <path of the file>

 

  • Path Tracing:
$> make clean
$> make 
$> bin/pathTracing <rays per pixel> <width of image> <height of image> <scene_code> <path of the file>

 

  • Photon Mapping:

This code can´t be executed from terminal directly because is code obtanied from the teachers of the subject. This code has a set precompiled libraries for visual studio editor, version of 2013. You must install the IDE in order to compile and execute it.

Authors