teaching machines

CS 330 Lecture 32 – Garbage Collection

Agenda what ?s deconstructors garbage collection a C++ smart pointer TODO Read section 7.7.3 in your book. Quarter sheet. Wondering about Java’s garbage collection? Read http://www.ibm.com/developerworks/library/j-jtp10283/. Why do we need both delete and delete[]? Check out http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=287. Code FasterString.cpp SmartPointer.h Haiku

On Data

People talk about all the stuff we’re going to be able to do once computers are fast enough and storage is cheap enough. Sadly, I don’t think technological advances will gain us much. Taken to the limit, the digital world of computers is just the analog world that we already have. And there’s nothing easy […]

CS 455 Ambient Occlusion

Watch the following videos: Ambient Occlusion – Theory Ambient Occlusion – Blender Ambient Occlusion – Renderer Additional Reading: If you want to look into ambient occlusion a bit more, here are some interesting sources that we stumbled across. For more on SSAO for quick dynamic ambient occlusion, this is a helpful article.  Simple and Practical […]

CS 330 Lecture 31 – Generics and Templates

Agenda what ?s some C++ trivia a quick Java ArrayList polymorphism: subtype vs. parametric Java’s generics the acks of type erasure C++ templates TODO Read sections 3.5.3 and 8.4 in your book. Quarter sheet. Code UnwildList.java WildList.java WildList.cpp Haiku

Feature 8 Post Mortem – Conor

This feature was all about using textures to modify the base albedo of the terrain in my scene. The steps to do this are not really any different than texturing any other model. I needed to upload the texture that I wanted to use, and create a new shader that would take advantage of the […]

Feature 3 – Kevin

Applying specular lighting to different objects wasn’t too hard beyond the demonstration.  I did not encounter any problems beyond what Chris showed us. http://www.youtube.com/watch?v=ED56CjCJ2Qo

The Programming Gene

My wife and I read to each other. We ran into this the other day in Daniel Defoe’s Robinson Crusoe: So I went to work, and here I must needs observe, that as reason is the substance and original of the mathematics, so by stating and squaring everything by reason, and by making the most […]

Feature 1 – Emmertac

First thing: I do not have any recording software; my laptop has been dead for some time now and I do not have a smart phone. Besides we all know you didn’t come here to listen to someone talk. Look at the other object, besides the terrain, whats the first thing that comes to your […]

Sit Down and Code

At the 2012 Midwest Instruction and Computing Symposium, visualization researcher Daniel Keefe offered a keynote presentation on data-intensive visualization. His work involves the design of novel interfaces to navigate complex data sets. Visualization researchers always have the best demos. Mr. Keefe expressed his frustration with programmers: they hear the problem and then they sit down and write […]

What’s the Best Text Editor?

Students ask, “What’s the best text editor?” When talking about superlatives like best and worst, we really have to narrow down our scope to have meaningful discussion. You simply can’t say, “They’re the best band ever!” You’ve not gone through all of time and figured that out. Even if we could travel through time, there’s […]