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 […]
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 […]
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
CS 455 Lecture 11 – Aspect Ratio
Agenda what ?s Playdoh projection fitting the projection to the viewport TODO Start the Magnets homework. No class on Thursday. Some of you have missed some lab checkpoints and have asked if they could still be submitted. I’m am reluctant to diminish the value of previously awarded checkpoints. However, I offer the following two checkpoints […]
CS 455 Homework 2 – Magnets
See the PDF.
CS 330 Lecture 16 – Functions in Assembly
Agenda what ?s finish heads/tails summing user input a multiply function TODO I’ll be gone Wednesday and Friday. Please take advantage of this time to work on CSE and Regexercise. I will have limited time to communicate, though I’ll try to check Piazza once a day. Code boolean.s repeated_addition.s Haiku
CS 330 Lecture 15 – Assembly Cont’d
Agenda what ?s line at a time dealing with memory conditional statements calling functions TODO 1/4 sheet. Pick one of: Write an assembly program that gets a number from the user and prints out just its least significant byte. Read Stop Misquoting Donald Knuth! Line at a Time Code … Haiku
CS 455 Lecture 10 – Virtual Trackball
Agenda what ?s 3-D interfaces imposing a virtual trackball TODO As a lab exercise, implement the virtual trackball interface. Rotate a model in a non-axis-aligned away and send me a screenshot. Code Pseudocode for mapping a pixel position onto a virtual unit sphere: Now, to implement the trackball: On left mouse down, persist the mouse location’s […]
CS 330 Lecture 14 – Assembly
Agenda what ?s the von Neumann computer leaky abstractions line at a time TODO Read chapters 1-3 of Programming from the Ground Up. 1/4 sheet. Recall This What’s the von Neumann architecture of a computer? What happens in a computer when you add two variables? What happens when you execute an executable? Line at a […]