Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 904 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 904 Bytes

graf3d

graf3d is simple 3D graphics rendering engine written in C#. It implements:

  • Line clipping algorithms (Liang-Barsky).
  • Line rasterization algorithms (Bresenham, Recursive Midpoint).
  • Specular reflection algorithms (Phong, Blinn-Phong).
  • Bump mapping using normal maps.
  • Translations, scaling and perspective.
  • Rotations with quaternions.

Sample scene is imported from Unity exported JSON file.

Projects structure

  • Engine/ - class library with no external dependencies implementing all graphics rendering.
  • Demo/ - WPF application rendering sample scene.

Demos

Zooming

Zoom

Camera movement

Movement

Specular relflection

Reflection

Bump mapping

Bump mapping

Normal map used for bump mapping

Rock normal map