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

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

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 […]

Feature 10 Post Mortem

For this feature, I decided to make some grass for my scenery out of billboards.  I ran a Google image search and came up with this nice little grass tuft, taken from unity3d.com. I thought it would be nice to make fields of grass, only I would need a way to place these guys into […]

CS 330 Lecture 30 – Overloading Builtin Operators

Agenda what ?s what does this do? a FasterString class operator<< friend operator[] operator+ operator* operator+= on parity TODO Read http://weblogs.java.net/blog/cayhorstmann/archive/2011/12/06/operator-overloading-considered-challenging?utm_source=feedly. No quarter sheet. Code refs.cpp Vector3.cpp FasterString.cpp Haiku

CS 455 Lecture 20 – Fog and More Billboards

Before Class Fog Watch http://youtu.be/lAQFNWy6YhA. Watch http://youtu.be/iYnUxJkv6bc. Read section Simulating Fog in chapter 3, pp. 100-104. More Billboards Watch http://youtu.be/TyLlEyV_WLo. Watch http://youtu.be/AeNTr1GPJMY. In Class Please work on your homework features.

CS 330 Lecture 29 – Virtuality in C++ and Overloading Builtin Operators

Agenda what ?s no class Friday program this http://www.parashift.com/c++-faq/refs-vs-ptrs.html cosmic superclass overriding with virtual implementing Polynomial::solve pure virtual the means of dynamic dispatch overloading builtin operators a FasterString class deconstructors Pulse Student evaluations are just numbers, but I like to hear anecdotes too. Please take a moment to think about how this course is run: […]

1 165 166 167 168 169 232