I fooled myself into taking the graphics course here. Everybody was
saying it would be a lot of work, but I decided I could handle it!

I’m not sure If I’ve been able to do so…. but you can judge for yourself
by looking at how much time I put into it!
Assignment 0
Assignment 1
Assignment 2
Assignment 3
Assignment 4

Assignment 0

This was just a simple drawing program. Not a lot of time spent on this one.

a0 snapshot

Assignment 1

We got to make a cool game of tetris. There’s a long story behind this assignment.
Again, for this assignment I didn’t record my work hours… but I put some extra
time into it, making the beveled cubes.

a1 snapshot 1a1 snapshot 2

Assignment 2

This assignment might not look like much, but it had a lot of work behind it, and it helped with a lot of the fundamental concepts….. but all it really is , is drawing a cube!!!

Log:

Friday

  • 15:00 after about 2 hours on physics, it’s finally time to move to Graphics. A whole weekend of fun, here I come.

Saturday

  • 4:00(am) model translations working.
  • 4:30 model rotation and scaling working. minor problem with increments. and some divide by zeros.. but nothing major! Time to go to bed.
  • 12:00 start again. Debuggin the increment problem. It seems serious now!
  • 13:30 found out it’s related to order of multiplication of matrices. Now have to find where!
  • 14:20 it’s not only wrong order, but I have the angles, translations and the rest accumulating! Wrong, Wrong wrong!
  • 15:00 fixed all that junk, lets go for a break.
  • 16:30 back from the break.
  • 19:25 almost done. Model operations are working. Viewing operations are also working. Got all the code for the user interface working completely to specs. Just need to do clipping and I’m done.
  • 21:00 I took a little detour into adding an extra feature. I’m gonna go eat now.


snapshot
snapshot

Monday

  • 14:45 back to add the clipping and the garbage. Let’s see how far I get.
  • Monday 23:55 After all this time, clipping works. Viewport works. I’m done, but much later than I anticipated, and so I won’t get to do my extra feature. Time to go to bed, so I can go write a midterm and the documentation tomorrow morning.


snapshot

Total time spent on A2 : 30 hours!!!!!

Assignment 3

here it is.. Assignment 3, the puppet For this assignment, we made a heirarchical puppet. The details are too boring, but the idea is to make a pupet that can be easily manipulated and can move it’s joints and stuff.

We had the option of handing in the “Generic Man” or doing a cool puppet. I made sure my generic man was working before I got to work on the cool stuff, but I still ended up wasint a lot of time.

Log:

Wednesday

  • about 3 hours spent trying to understand what’s happening in the code, and what we’re supposed to do.

Saturday

  • from 23:00 to about 02:30(Sunday) worked on getting a3mark.py to work. and now I have the models showing up fine, with transformations and lighting. Time for a little break!


snapshot1

Tuesday

  • 10:30 moving in to do some work before class…
  • 12:30 time to go for lunch .. I got translations working , but now I can’t define a model of my own. Seems like I have serious problems in CPP code.
  • 13:30 back to fix the bug, see how far I get.
  • 14:30 problem not fixed.. but I’m going to class now…
  • 23:30 figured out what my problem… finally .. but now I’m sleeping at 00:00


snapshot2
snapshot3

Thursday

  • 5:00 (am) moving in to do the picking.. couldn’t think straight.. so I read up on how to go about doing the pick.
    I did some of the heirarchy to match with the specs..
  • it’s 7:00 and I’m tired.. I’m gonna go take a nap.
  • 21:00 lets do this rotation thing and get it out of the way!
  • 22:00 time to go to school and work there for a bit.
  • 23:00 working at school now… after a bit of discussion on some of the things I have to do.

Friday

  • 4:00 so finally trackball is functional and everything. I’m gonna go to bed now.
  • 18:00 lets see if I can finish the picking and joints today.
  • 20:20 time to take a quick break.. still nothing…
  • 21:30 back to work on picking. No results yet, and I’m getting frustrated.

Saturday

  • 1:00 I got it working! But with a little bit of hacking. I have to go over the code tomorrow and make it look nice.
  • 15:30 Let’s finish picking….
  • 20:30 Picking is done with one bug. I don’t know what to do about the joints. Everything is out of whack! I’m very frustrated. I’ll take a break
  • 21:30 started again, but I’m just going to model my final puppet instead of worrying about the code for the joints.
  • 22:15 I modeled the face, the beret, the hand and the boots of the puppet. I think this has been the most productive hour so far! I’m done graphics for tonite.


snapshot4

Monday

  • 11:45
    I’m planning on Staying as long as it takes. Have to polish up the joint rotations, the picking. And I want to do a cool puppet using the model I made in the modeller!
  • 15:30 Going home to finish up. Right now my generic puppet is presentable.
  • 17:00 back to work, and now it’s teamwork on the models!!
  • 23:00 lets go to school to do some work, my room is too small for three people!

Tuesday

  • 00:00 back in the lab now (after a meal) and we’ll be here all nite!
  • 8:50 submitted the model. It looks cool, but some minor things along the way, and the fact that it’s time consuming to make eyecandy, bugged me down!


snapshot3
slavador

Total time spent on A3 : 31+ hrs

Assignment 4

The toughest assignment, apparently. I’m going to try and keep a log of what I do here, but I might end up just forgetting about it if the work load is too heavy. I won’t explain the details, but basically we have to create an image, by placing objects in a scene and following the path that the rays of light (geometrical optics style) as they hit the objects and whatnot.

Log:

Friday

  • 17:30 Starting with this assignment. I have to fix up all the files from A3 to work here.. this’ll take a bit of time.
  • 19:00 Code compiles but no image yet. Dinner time.
  • 22:00 back to work. I think I’ll do some reading before I get started. On coding the stuff.

Saturday

  • 00:00 read a little did some work, and now I have a black scene rendered!!!

Sunday

  • 23:30 here we go. I have to get some good progress under my belt before I leave this lab!

Monday

  • 4:30 I have a quarter sphere.. and now going to bed!
  • 16:30 Back to work.
  • 18:00 cleaned up the code , but no results yet. I have to go and do other work now.


snapshot

Tuesday

  • 17:30 time to do work seriously!!!

Wednesday

  • 00:00 finally got the spheres going. After god knows how many hours.
  • 2:20 bed time.. i now have hierarchy working,as well as non-hierarchy.. cool!
  • 18:00 lets see if I can get cubes working


snapshot
snapshot

Thursday

  • 04:30 cubes not working.. I’m very frustrated and from the looks of it my weekend plans have been ruined!!!!!!!!!
  • 10:30 I was in bed thinking about the stupid cubes………and now that I’m awake, I might as well fix them.
  • 12:50 Cubes are fully functional now..
  • 13:20 time to take a break.. I have some of the code for lighting ready.. shouldn’t be long before lighting works.
  • 17:30 back from a long break. lets do lighting.
  • 21:00 I have some weird lighting effects.. I’ve been going in circles trying to fix it.. no success yet.


snapshot
snapshot3snapshot



Friday

  • 15:30 back to coding.. lets see if I can fix the problem with the lighting.
  • 17:30 I was frustrated from not being able to get the lighting to work, and took a shower.. and we all know what happened to Archimedes in the bath … and now I have the lighting working !!! I’m going to go and work in the lab now.
  • 18:30 Lighting works perfectly.. I changed the formula I was using, and now it’s fine.
  • 23:30 I worked on a bunch of things. Fixed some bugs, and now I have to move onto doing meshes… but first, lets go eat.

Saturday

  • 00:30 back from eating, and lets code the mesh.
  • 03:00 the code I was using is too convoluted, and I’m going to rewrite it in a different style.. all my time gone to waste!!!
  • 06:00 I have meshes showing up but the lighting is all wrong. I don’t know if it’s the normals or not.
  • 9:00 Let’s go for some breakfast, and I’ll try and fix it during breakfast!
  • 11:00 nothing is working and I seem to have broken what I had before. I’ll have to wait until sunday to fix up all these problems.

Sunday

  • 20:30 lets go to the lab and work.
  • 21:30 WOW! the problem with the polygons is now fixed.. just one line!

Monday

  • 3:30 done… everything works.. just need to render my final scene now. Going home to sleep
  • 19:00 after a day at school, I should be studying for my midterm, but I think I’ll just work on the raytracer!
  • 20:30 I have reflections, but they seem too bright!
  • 23:00 reflections are good to go, and I’m working on my final scene.

Teusday

  • 00:30 this is bad, really bad.. I did something and now my shadows are messed up.. I gotta fix this and submit
  • 2:30 Fixed that stupid problem, made a final scene, and now I’m going to go and study for my midterm! The final scene includes one layer reflections, blinn-phong lighting, meshes (modelled by myself) and all the other standard stuff.


snapshot
snapshotsnapshot



This last image was not submitted as my assignment, but I didn’t like the effects from the first one, so I made this after…. Just watch out this one is 768×1024


snapshot

Total time spent on A4 : 69 hrs