Ericas Web Page

Lab 3 - 3D Modelling and Animation

I don't have much to say about this lab. I just followed the instructions. The only thing I actually had a problem with was rendering the scene. My movie turned out to be lagging all the time and even though it was only a 2,5s clip, it had a file size of 70MB. I solved this by fiddling around with the rendering settings. The one that seemed to help was to enter the compression settings and change the parameter for key frames from 10 to 20. This removes the lag and also reduced the file size from 70MB to 1,5MB, which I think was quite nice. The upload on this site is in mp4 though, and a lot smaller.

The Three.js scene with lights added.

Here's what my Three.js scene looks like after I applied light. I used an ambient light and a point light as suggested in the instructions. I think the result looks okay, even though the light doesn't seem to behave int he same way on the cube as the tetrahedron. That might be because of the shape though. At first, I had a problem with the darker parts of the tetrahedron becoming completely gray like the color of my ambient light. I figured that it probably had something to do with the ambient parameter for the materials what was mentioned in the instructions, but I failed to set it so that the problem got solved. A quick google search told me that I should set the ambient color closer to the normal color of the faces, and doing so helped.

Sources Used

http://threejs.org/docs/#Reference/
http://stackoverflow.com/questions/14717135/three-js-ambient-light-unexpected-effect

Disclaimer

Erica Bronge 2/11 2014