March 29th – Theory of Texturing [PDF] March 31st – Practical Texturing in WebGL [PDF]

# March 2016

Starting point … a pyramid drawn as explicit triangles [JSBin] Same pyramid drawn using indexed vertex lists [JSBin] Cube with flat-shaded faces, drawn using indexed vertex lists [JSBin] Cube with procedural texture [JSBin] Cube with checkerboard texture, mipmap [JSBin] A different texture, combined with face colors, mipmap [JSBin] Options for handling texture coordinates outside [0,1] […]

The instructors’ office hour (nominally 11am-12noon) on Monday 3/28 is cancelled for this week. Please make individual arrangements (by email, or verbally after class) for alternative meeting times, if needed.

Can be downloaded here. Solutions to last year’s midterm will not be posted.

In addition to my regular office hours tomorrow (11am-12noon), I will also be available between 4:00-4:45pm in the afternoon (office: CS6387). In this late afternoon window, I will prioritize questions on the exam, rather than questions on P6.

For your convenience, I have summarized the most important excerpts from your textbooks, that you might want to review in preparation for your midterm. Note that these are not necessarily a substitute for your own notes from our lectures in-class. But they should help in filling the gaps. From “Fundamentals of Computer Graphics”, Shirley et […]

Introduction to WebGL [PDF Link]

You can use the following 2 practice exams in preparation for your midterm on Tuesday March 15th This is the practice midterm prepared for last semester’s course offering. Note that this is, by design, a much more challenging set of questions than what you would expect to be asked during the exam. And this is […]

Due: Friday, March 18th Synopsis: You will create an interactive visualization of a 3D model using WebGL and GLSL shaders. In principle, you will re-create the experience that was asked of you in Program 4, but instead of doing the drawing using the (2D) routines of the HTML5 canvas, you will leverage the WebGL API […]

Introductory examples – most of them we’ll discuss in class (or we already have) One Triangle (JSBin) (simpler version in JSBin) Two Triangles (JSBin) Two Triangles, Different Colors (JSBin) Two Triangles, Different Colors, Spinning (JSBin) Two Triangles, Different Colors, Spinning, TWGL (JSBin) … and some additional examples, showing 3D transforms at work more clearly. [SPOILER […]