See the PDF.
See the PDF.
i didn’t have much problems implementing fog. I followed along with the lecture and got it working. http://www.youtube.com/watch?v=oabUuWurtD4
feature 5 was a little trickier to implement. I read in the terrain file and read in the height values into a 2D float array. I then applied those heights to the camera’s position as you moved around and that allowed the camera to automatically be set to the height of the terrain. […]
feature 4 wasn’t too hard to implement. After following the video lecture i cut up a space cube that i found online and used that in my skybox. http://www.youtube.com/watch?v=ws6EReLYyyg
Reads in diamond-square generated terrain obj file, displays in window. Basic lighting makes it easier to see terrain. Meant to look like a mountaintop view over a canyon.
This was the bane of my existence the past few weeks. I bashed my skull against my machine for two weeks trying to figure out why Skyboxes wouldn’t work. Turns out, had to turn GL_CULL_FACES off. After that, code was straight from the video. One obstacle here was that my MacBook Pro is dying, and […]
Spectacular lighting! It wasn’t hard at all, the code was just straight out of the video. I don’t think I had to make one change. I did tweak the shininess, because Steve started looking inky black. So now he’s more of a pewter color. [youtube http://www.youtube.com/watch?v=7_cx40nhNRM?rel=0&w=560&h=315]
Agenda what ?s multiple inheritance in Ruby? implementing Orderable wrap-up Code vec3.rb Haiku
Getting a skybox around my terrain proved a little more difficult than just following the video. For the most part that’s where the majority of the code came from, but I ran into a problem where for some reason I had to disable cull faces in order for the skybox to appear everywhere. Some code […]