Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 4.78 KB

Assignment_3.md

File metadata and controls

73 lines (56 loc) · 4.78 KB

Assignment 3

Phong Shading:

Changing the settings of the material:

image

image

Changing the position of the light source:

phong_sped

Texture Mapping

Plane vs. Cylinder vs. Sphere

  • with crate texture
    crate
    texture coordinates -> cylinder on a cylinderical object:
    cylinder_AdobeExpress
    plane -> sphere on a spherical model:
    sphere_AdobeExpress
    plane -> cylinder -> sphere on a teapot:
    plane_AdobeExpress

  • with chess texture
    chess
    plane on teapot:

image

cylinder on teapot:

image

sphere on teapot:

image

sphere on demo:

image

Environment Mapping

We loaded the Yokohama 2 skybox from http://www.humus.name/index.php?page=Textures&start=0:
image
skybox_sped_AdobeExpress

And added background control:
image
image

Environment mapping (Yokohama 2 skybox example):

image

image

Toon Shading (looks cartoonish)

image

image

image

Normal Mapping

without noraml mapping:
image
with noraml mapping:
image

Demos

image

Two cubes, same texture, one cube uses cylindrical mapping:

image

Sphere object:

image

image

image

3 teapots:

image