teaching machines

Feature 1- Spencer

The first feature didn’t require much outside effort outside of the code that I already had for class. The only thing I added was the ability to parse an obj file for the faces and vertices, as opposed to having to count them by hand.   A little code   A little star   And […]

Feature 8 Post Mortem

Before I begin describing this feature, I’d like to note that I caught a mistake involving my water. After hearing other people talk about it, I realized that the reflection on my water wasn’t changing as the camera moved. After a few attempts, I managed to fix it, and now my water reflects different skybox […]

CS 330 Lecture 27 – List Comprehensions and On To C++

Agenda what ?s list comprehensions in Haskell functional vs. non-functional OOP vs. non-OOP imperative the pillars of OOP (encapsulation, inheritance, polymorphism) initialization lists a polynomial hierarchy TODO Read http://hacksoflife.blogspot.com/2010/12/what-oop-isnt.html. Read the comments too. Agree or disagree? Quarter sheet. Code vowels.hs listcomps.hs waaaaaaaaaaaa.hs Functions.h Functions.cpp graph.cpp makefile Note to copy and pasters: makefile rules need to be […]

CS 330 Lecture 26 – More Folding, Composing, Custom Data Types

Agenda more folding: join, length, map, find, filter folding on 1+ lists: min, max composing: countOvers, any, all custom data types: an expression hierarchy making something an Ord TODO Read chapter 9 through section 9.2.2. Quarter sheet. Code today.hs Haiku

Feature 5 Post Mortem – Conor

This is the post mortem for my camera feature.  While implementing a camera for my scene, the only resource that I used was the video that Chris provided.  This was fine for simply moving around the scene, but I needed to extend the camera to auto-adjust itself based on terrain height.  In order to accomplish […]

HW F.5 – Hannah

I completed Feature 5. I have had the ability to move around my scene for a long time, but I haven’t been moving with the contour of the terrain until this submission. I had a hard time conceptualizing how to make that happen, and I give credit to all of those who completed this feature before me, […]

Feature 4

If I followed the video correctly that Chris posted about this it would have been a lot easier.  However I decided to ignore the fact that you need an image that is square.  Debugging this issue really wasn’t easy.  I ripped apart all of my code and was still clueless since everything compiles okay and […]

Feature 6

My biggest challenge this time was correctly reflecting the skybox off the water. The vector that needs to be reflected is the direction from the camera to the world position. There was no way to get this with the shaders written in the water tutorial video. Passing in the camera’s position as a uniform was […]

Feature 6 Post Mortem

In order to implement this feature, I decided it best to totally rework my landscape to better integrate a source of water into the scene.  This was the result of some brief fiddling around in GIMP, making a height map and corresponding texture: Up close, the water looks more like this: This feature took quite […]

CS 330 Lecture 25 – Currying and The One-Liner

Agenda what ?s what does this do? the Maybe/Option type currying and how to read Haskell function specifications find’ in an association list/hash point-free style foldl and foldr or’ and’ sum’ product’ min’ foldr1′ max’ join’ length’ average’ map’ countOvers composing functions any’ all’ TODO Play. And homework. What Does This Do? Code today.hs Haiku

1 167 168 169 170 171 232