https://github.com/shadowmitia/raytracer-upsud
Project for the photorealistic rendering class
https://github.com/shadowmitia/raytracer-upsud
cpp raytracer
Last synced: 10 months ago
JSON representation
Project for the photorealistic rendering class
- Host: GitHub
- URL: https://github.com/shadowmitia/raytracer-upsud
- Owner: ShadowMitia
- Created: 2018-11-19T20:26:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-23T15:02:16.000Z (over 5 years ago)
- Last Synced: 2025-03-15T02:33:31.343Z (over 1 year ago)
- Topics: cpp, raytracer
- Language: C++
- Homepage: https://tobias.isenberg.cc/graphics/Main/HomePage
- Size: 11.7 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Raytracer C++ framework for "Introduction to Computer Graphics"
===============================================================
This is a C++ framework for a raytracer. It is created for the Computer
Science course "Introduction to Computer Graphics" taught at the
University of Groningen by Tobias Isenberg.
Author: Maarten Everts
This framework is inspired by and uses code of the raytracer framework of
Bert Freudenberg that can be found at
Description of the included files
---------------------------------
### The raytracer source files:
main.cpp
: Contains main(), starting point. Responsible for parsing command-line
arguments.
raytracer.cpp/.h
: Raytracer class. Responsible for reading the scene description, starting
the raytracer and writing the result to an image file.
scene.cpp/.h
: Scene class. Contains code for the actual raytracing.
image.cpp/.h
: Image class, includes code for reading from and writing to PNG files.
light.cpp/.h
: Light class and Ray class.
object.cpp/.h
: Object class. Represents an object in the scene.
sphere.cpp/.h
: Sphere class, which is a subclass of the Object class. Respresents a
sphere in the scene.
triple.cpp/.h
: Triple class. Represents a 3-dimensional vector which is used for colors,
points, and vectors. Includes a number of useful functions and operators,
see the comments in triple.h.
### Supporting source files:
lodepng.cpp/.h
: Code for reading from and writing to PNG files, used by the Image class.
LodePNG is created by Lode Vandevenne and can be found at
.
yaml/*
: Code for parsing YAML documents. Created by Jesse Beder, can be obtained
from . See also yaml/license.txt.