Skip to content

boTimPact/Raytracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raytracing

English version below

Dieses Projekt ist im Zuge des Kurses GTAT1 Game Technology & Interactive Systems: Ray Tracing entstanden

Im Praxisteil der Veranstaltung musste der gelernte Stoff in einem eigenen Raytracer implementiert werden.

Behandelte Themen:

  • Bilderzeugung durch Strahlverfolgung
  • Grundlegende Kamerafunktion
  • Lichtquellen
  • Materialeigenschaften
  • Mathematische Darstellung von Körpern: Kugeln / Quadriken & Transformationen (Translation, Rotation, Skalierung)
  • Constructive Solid Geometry (Vereinigung, Schnitt, Differenz)
  • Beleuchtungsmodell mit Cook-Torrance
  • Schatten-, Reflektions- & Refraktionsstrahlen
  • Transparenz & Brechungsindex
  • Pathtracing (hier für weiche Schatten)


English version

This project was created as part of the GTAT1 Game Technology & Interactive Systems: Ray Tracing course.

In the practical part of the course, the material learned had to be implemented in an own ray tracer.

Covered Topics:

  • Image generation through ray tracing
  • Basic camera function
  • Light sources
  • Material.Material properties
  • Mathematical representation of solids: spheres / quadrics & transformations (translation, rotation, scaling)
  • Constructive Solid Geometry(Geometrics.CSG) - union, intersection, difference
  • Illumination model with Cook-Torrance
  • Shadow, reflection & refraction rays
  • Transparency & Refractive Index
  • Pathtracing (here for soft shadows)


Results:

1. Iteration

Simple raytracer for rendering spheres with diffuse illumination

Basic Raytracer render showing 3 spheres with diffuse lighting

2. Iteration

Cook-Torrance lighting model with quadrics and CSGs

Raytraced render showing Quadrics and Constructive Solid Geometry and the Cook-Torrance ilumination model

3. Iteration

Shadows, reflections, transparency and refractions

Raytraced render showcasing reflections and refractions with lightsource shining directly onto Objects

Raytraced render showcasing reflections and refractions with lightsource behind Objects

4. Iteration

Path tracing for soft shadows, Geometrics.Triangle mesh, Skyspheres Raytracing

Raytracing2

Raytracing5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages