teaching machines

CS 330 Lecture 19 – A Type Dichotomy

Agenda what ?s system vs. programmer-defined strong vs. weak static vs. dynamic TODO For a 1/4 sheet participation point, compose a midterm question about some topic we’ve discussed so far this semester. Follow these guidelines in forming your question: The question should require cognitive processes to answer. Merely recalling trivia does not. You can look […]

Brian’s Gaussian Pox (now with a title)

This assignment was pretty cool. One of the few hurdle I had when creating the gaussian blobs was the file format. After messing around with the file format for a little while, and getting used to creating file in c++, I finally got a gaussian type picture. I have to admit that made me pretty […]

CS 455 Lecture 13 – UV Mapping in Blender

Agenda what ?s uv mapping non-algorithmically controlling with seams TODO As a lab exercise, uv map at least two models: the moon and something else. For the moon, use an existing texture, like the one at http://planetpixelemporium.com/earth.html. For the other, either create your own texture in an image editor, download one, or paint the texture directly on to […]

Nathan’s Pox

Here is my homework. Nothing special, just a bunch of colored circles in space. I had the most problems writing the ppm because I switched up width and height, but when I got that figured out, the rest was pretty easy.

CS 330 Lecture 18 – Types

Agenda what ?s program this a definition of types static vs. dynamic weak vs. strong Program This Write pseudocode to calculate a score for a given hand in Black Jack. In this game, jacks, queens, and kings are worth 10, numeric cards (2-9) are worth their numeric value, and aces are worth either 1 or […]

schuhaj – chicken pox

           I am simply awful at understanding directions without a frame of reference.  I initially attempted to simply fumble my way through the instructions with the intention of fixing everything later.  This turned into more of a mess than necessary. The energy equation was easy to figure out, as was finding the […]

Weirc – Gaussian pox

The hardest part for me is to figure out what a bump is in terms of data structure, which only needed a few minutes for Chris to explain to me. Then I just followed the instruction, and finished the program. At this point, it outputs very weird images, I didn’t know why, later with Chris’s […]

kryzernj – Gussian Pox

I had a few minor issues setting the ppm file up, however the largest problem that I encountered was visual studio. For some reason it was not recognizing the string datatype or any math functions.  After trying to fix these problems in VS someone suggested I try compiling it in putty.  It compiled and ran […]

CS 455 Lecture 12 – Texture Mapping

Agenda what ?s adding detail without geometry uv coordinates Texture class interpolation repetition While You’re Waiting I have an image of Campbell’s Soup label that is 480 pixels wide and 201 pixels tall. What must be the relative dimensions of the soup can upon which the label is affixed? TODO As a lab exercise, create […]

CS 330 Lecture 17 – On to C

Agenda what ?s program this think about this C over assembly TODO Read The Descent to C. 1/4 sheet. Program This Write atoi, which converts a C string into an integer. Think About This Imagine you are an assembly language programmer in the 1970s. What’s one gripe you have with assembly? Haiku

1 125 126 127 128 129 233