• PA8 Ambient Occlusion is due on Dec 16, 11:59pm
  • Code: cs451-PA8.7z Δ
  • This assignment will help you deepen the understanding of the following topics
    • Ray generation in a hemisphere centered at a point
    • ambient occlusion
  • What to submit
    • Your code (with everything)
    • You RT file (name it cs451_pa8.rt)
    • Rendered images. Make sure that you name your images as follows
      • two 680x680 images, one without ambient occlusion and one with ambient occlusion
      • name these images cs451_pa8_No_AO.jpg and cs451_pa8_AO.jpg
      • create these images with 30 rays per pixel and 30 rays for ambient occlusion approximation
    • README.txt file in cs451-PA8 folder with the following information
      • The OS and compiler that you compile your code
      • How to build your program
      • Tasks that you completed
      • Tasks that you started but did not complete
      • Tasks that you did not start
      • What are the known bugs in your code?
  • How to submit
    • email me (jmlien@cs.gmu.edu) and your TA (ple13@masonlive.gmu.edu) a link to all source code, images and README.txt in a file named cs451_pa8_[your last name].zip
    • Please do not send us the file directly

Tasks

  • Task 1 (5%): Blend ambient occlusion with ray color
  • Task 2 (90%): Compute Ambient occlusion of a given point on the surface of a mesh
  • Task 3 (5%): Create your own *.RT file.

Examples

without AO

with AO

without AO

with AO

without AO

with AO