terhuhf / F-RE

A simple rendering engine
0 stars 0 forks source link

Concepts #1

Open jiangyangmu opened 7 years ago

jiangyangmu commented 7 years ago

Models

Pipeline

  1. Normalize coordinate - Simplify virtual world
    • world space -> camera space -> normalized space(handle perspective, near-plane, far-plane) -> clipping
    • Now everything is in a cube!
    • (X,Y) to screen position, Z to depth.
  2. Collect properties and do sampling - From virtual to samples/pixels
    • collect triangle attributes (depth, UV, ...) -> calculate attributes on samples within triangle (depth, UV mapped color, ...)
  3. Test and draw - Final step
    • do depth test and update color buffer on samples

OpenGL/Direct3D graphics pipeline

Tools

Framework

Terms

Understanding Render

Reference

terhuhf commented 7 years ago

Modeling

Geometry

Smooth Curves Representation

Materials

Reflection Models

Lights

Quantifying Reflection - BRDF

Ideal Diffuse Reflection

Rendering

Ray Casting

Producing color values for pixels

Theoretical Foundations

Radiometric Quantities