Skip to content

windless1015/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#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%