Skip to the content ForoHackers
Log inJoin

Rendering: start here

Rendering
#2977 · · Quote · Report

Rendering is computing the image of a scene: given geometry, materials, lights and a camera, decide the colour of every pixel. Real-time renderers trade accuracy for speed to hit a frame every few milliseconds; offline renderers simulate light more faithfully and may take minutes or hours per image.

Key concepts

  • Rasterisation: project triangles onto the screen and shade the pixels they cover; fast, and the basis of real-time graphics.
  • Ray tracing: follow rays from the camera through the scene to find what they hit and how light reaches it.
  • Shading models: diffuse and specular reflection, and physically based materials that conserve energy.
  • Global illumination: light bouncing between surfaces, which gives soft shadows and colour bleeding.
  • Sampling and noise: Monte Carlo methods estimate light with random samples; more samples mean less noise.

Vocabulary

  • BRDF: a function giving how much light a surface reflects from one direction to another.
  • Path tracing: ray tracing that follows random light paths to solve the rendering equation.
  • Shadow map: a depth image rendered from a light, used to test what is in shadow.
  • Denoising: filtering a noisy, low-sample image into a clean one.

What to study, in order

  1. Write a small ray tracer for spheres and planes that writes an image file.
  2. Add diffuse and specular shading, shadows and reflections.
  3. Turn it into a path tracer; watch noise fall as samples grow.
  4. Implement a triangle rasteriser with a depth buffer and compare the results and the cost.
  5. Read about physically based materials and implement a basic metal and dielectric.
  6. Add acceleration structures such as a bounding volume hierarchy and measure the speedup.

Related tags

#computer-graphics #gpu #probability #computer-vision

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply