Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 2.1 KB

README.md

File metadata and controls

46 lines (28 loc) · 2.1 KB

Serena Gandhi (gserena), Raymarching SDFs

Link:

https://gserena01.github.io/hw02-raymarching-sdfs/

Images:

image

Project.0_.Getting.Started._.CIS.566.-.Google.Chrome.2021-10-13.20-58-05_Trim.mp4

Source Image:

image

Overview:

  • uses signed distance functions to model a mug, a pair of scissors, and the ground plane
  • SDFs are combined using smooth blending and smooth subtraction operations
  • features several different colors of materials
  • Lambertian shading is applied to all materials
  • soft shadows are cast by SDF primitives
  • Scissors and objects are animated by moving their local origins according to time modified by Bias and Gain functions, for smoother, non-linear motion.
  • Features three different lights: one to cast shadows, one to provide ambient light, and one to serve as a fill light
  • Rendering optimized to allow for smoother animation by limiting how long rays can extend during ray-marching and only checking for scene geometry (during ray-marching and shadow-marching) within a bounding box

External Sources:

Prior Version:

image

Homework.2_.Raymarching.SDFs._.CIS.566.-.Google.Chrome.2021-10-06.20-56-16.mp4

Bloopers:

Pinocchio Scene: Issue caused by allowing the bounding box to cast shadows on the scene

wooden bug