SkillAgentSearch skills...

Graf3d

Simple 3D graphics rendering engine written in C#

Install / Use

/learn @stil/Graf3d
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars46
CategoryDevelopment
Updated6mo ago
Forks12

Languages

C#

Security Score

87/100

Audited on Sep 13, 2025

No findings