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

Simple 3D graphics rendering engine written in C#

License

Notifications You must be signed in to change notification settings

stil/graf3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple 3D graphics rendering engine written in C#

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages