1 / 8

Teaching Graphics with no API

Teaching Graphics with no API. Pete Shirley NVIDIA, University of Utah. Mechanics of an API-free course. Output to screen or ppm file Use C++ (because of job market) Choose ray tracing or z-buffer Choose modeling or rendering as priority. Shadows tell the story.

devin
Download Presentation

Teaching Graphics with no API

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Teaching Graphics with no API Pete Shirley NVIDIA, University of Utah

  2. Mechanics of an API-free course • Output to screen or ppm file • Use C++ (because of job market) • Choose ray tracing or z-buffer • Choose modeling or rendering as priority

  3. Shadows tell the story • Ray tracing course: assignment 1 has shadows • OpenGL course….

  4. One triangle z-buffer Void rasterize(float2 v[3], rgb c[3]) { float bary[3]; for (int i = 0; i < nx; i++) for (int j = 0; j < ny; j++) { compute_bary( float2(i,j), v, bary ); if (inside01(bary)) { rgb c = interp(c, bary); setpixel( i, j, c ); } } }

  5. Concepts students learn • Gamma • Barycentrics • Implicit and parametric equations • Shadows • Specular reflection/refraction

  6. Possible capstone projects • Catmull-Clark • Hybrid algorithms • Path tracer • Interactive implementation

  7. Summary Advantages Disadvantages Don’t learn useful API Interactivity occurs late Possibly bad if this is only graphics course you ever tae • Concepts over syntax • Exciting early projects • No expiration date on material • Students must make engine efficient • Good for graphics professionals

  8. Closing remark • Best course is the one the prof likes to teach

More Related