Inspiration

Inspiration derives from the interest in computer graphics and computer compilers and the impact of NVIDIA's real-time ray tracing technology.

What it does

UBHackingCompiler

This is a compiler which compiles my self-designed language into intermediate language code for Microsoft's.Net Framework. It Support:

  • Namespace
  • Class
  • Static
  • function
  • field
  • STATIC_CAST
  • float32/float 64
  • Unary Operator
  • Math Operator
  • Bool Operator
  • Constructor
  • BitOperator

UBHacking Renderer

This is a CPU Pathtracing 3D Renderer which can render realistic images. It Support:

  • Path Tracing
  • Motion blur
  • Bounding Volume Hierarchies
  • Texture Mapping
  • Normal Mapping
  • Reflectance Mapping
  • Perlin Noise
  • Light Material
  • 6-side Skybox
  • Model Rendering
  • Multiple Importance Sampling
  • Jitter sampling
  • Direct illumination
  • Scene Management
  • Multi-threaded rendering

How I built it

I wrote the compiler using C#. wrote the renderer using C# and my own language. I build a 3D model of DavisHall using SketchUp. I designed a new 3Dmodel format for my renderer to render the SketchUp Model. Textures from www.textures.com The only third-party library I used is Newtonsoft.Json. a library helps me to read JSON. All other codes were written by myself.

Accomplishments that I'm proud of

  • I finished all these in time.
  • My compiler front end (lexer, parser) is very efficient.
  • My renderer coupling is very low.
  • My renderer is easy to operate and integrate

What I learned

  • Time management
  • MSIL Instruction Set.

Built With

  • c#
  • ubhackinglanguage
  • ubhackingraytracingrenderer
Share this project:

Updates