Docsity

Computer Graphics - Assignment 7 Questions | ECSE 4750, Assignments of Computer Graphics

Toggle sidebar
bg1
Computer Graphics Fall 2009 (this group)
home
Click to expand:
±WRF home page
±Teaching
±Research
±Miscellany
±Your wiki groups
SEARCH
Find
To print higher-resolution math symbols, click the
Hi-Res Fonts for Printing button on the jsMath control panel.
If the math symbols print as black boxes, turn off image alpha channels
using the Options pane of the jsMath control panel.
Homework 7, Due by email to TA Nov 6
1. (1 pt) What is the normal vector to the sphere x at
the surface point (x)?
2. (1 pt) What is the normal vector to the paraboloid z at
the surface point (x)?
3. (4pt, this question will take some thinking).
Imagine that you have an infinitely large room illuminated by one infinitely long row of point lights.
This figure shows a side view of the room.
The lights are h above the floor and are 1 meter from each other. Assume that the ceiling above the
lights is black and that no light reflects off of anything.
An object at distance d from a light gets illuminated with a brightness 1/d2 .
Each point on the floor is illuminated by all the lights, but more brightly by the closer lights.
A point p directly below a light will be a little brighter than a point q halfway between two such
points. That is the problem --- we want the floor (at least the part directly below the line of lights)
to be evenly lit, at least within 20%.
However, the higher the line of lights, the more evenly the floor will be lit.
Your question is to tell us what is the minimum value for h so that the line of the floor below the line
of lights is evenly lit within 20%.
2+y2+z2=1
yz
=x2+y2
yx
2+y2
Homework 7 (Computer Graphics Fall 2009) http://www.ecse.rpi.edu/Homepages/wrf/pmwiki/ComputerGraphicsFall...
1 of 2 4/24/2011 11:23 A
M
pf3
pf4
pf5

Partial preview of the text

Download Computer Graphics - Assignment 7 Questions | ECSE 4750 and more Assignments Computer Graphics in PDF only on Docsity!

Computer Graphics Fall 2009 (this group) home Click to expand: ±WRF home page ±Teaching ±Research ±Miscellany ±Your wiki groups SEARCH Find To print higher-resolution math symbols, click the Hi-Res Fonts for Printing button on the jsMath control panel. If the math symbols print as black boxes, turn off image alpha channels using the Options pane of the jsMath control panel.

Homework 7, Due by email to TA Nov 6

1. (1 pt) What is the normal vector to the sphere x at

the surface point ( x )?

  1. (1 pt) What is the normal vector to the paraboloid z at the surface point ( x )?

  2. (4pt, this question will take some thinking).

Imagine that you have an infinitely large room illuminated by one infinitely long row of point lights. This figure shows a side view of the room. The lights are h above the floor and are 1 meter from each other. Assume that the ceiling above the lights is black and that no light reflects off of anything. An object at distance d from a light gets illuminated with a brightness 1/d 2. Each point on the floor is illuminated by all the lights, but more brightly by the closer lights. A point p directly below a light will be a little brighter than a point q halfway between two such points. That is the problem --- we want the floor (at least the part directly below the line of lights) to be evenly lit, at least within 20%. However, the higher the line of lights, the more evenly the floor will be lit. Your question is to tell us what is the minimum value for h so that the line of the floor below the line of lights is evenly lit within 20%.

2 + y 2 + z 2 = 1

y z = x^2 + y^2 y x^2 + y^2

Homework 7 (Computer Graphics Fall 2009) http://www.ecse.rpi.edu/Homepages/wrf/pmwiki/ComputerGraphicsFall...

E.g., the brightness at p is Material created by W. Randolph Franklin and others is Copyright © 1994-2010, by the authors, This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License · This wiki is pmwiki-2.2.19 Barthelme theme by Scott and ported by Chi Shang This page is http://www.ecse.rpi.edu/Homepages/wrf/pmwiki/ComputerGraphicsFall2009/Homework7 · Last modified on October 30, 2009, at 02:17 PM · Now is April 24, 2011, 11:17: d =−

1

h^2 + d^2

Homework 7 (Computer Graphics Fall 2009) http://www.ecse.rpi.edu/Homepages/wrf/pmwiki/ComputerGraphicsFall...

E.g., the brightness at p is d =−

1

h^2 + d^2

Homework 7 Solution (Computer Graphics Fall 2009) http://www.ecse.rpi.edu/Homepages/wrf/pmwiki/ComputerGraphicsFall...

h=0.49 for the point directly under a light to be 20% brighter. If you computed for the point in the middle being 20% dimmer, which is also ok, you'll get a slightly different answer. There are many ways to do this. hw7q3.mw is a Maple worksheet, which you can play with. hw7q3.pdf is a printout you can read w/o running Maple. What I did:

_1. b1 is the brightness of one light in the row, where you are directly under one of the lights.

  1. b2 is the brightness of one light in the row, where you are between two lights.
  2. s1 is the total brightness of the row, where you are directly under one of the lights. It is unusual_

for an infinite sum to have a closed form solution. Usually you have to use a numerical approximation. I constructed this problem to work out.

_4. s2 is the total brightness of the row, where you are between two lights.

  1. To get a sense of what's happening, I plotted s1 and s2.
  2. Then I used solve. For this physical problem, h is a positive real number, but solve doesn't know_

that. So it also finds other extraneous solutions that are not physically valid. You often cannot blindly use general things like solve w/o using your also extra knowledge of the problem.

7. To double check, I plotted s1/s2.

Material created by W. Randolph Franklin and others is Copyright © 1994-2010, by the authors, This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License · This wiki is pmwiki-2.2.19 Barthelme theme by Scott and ported by Chi Shang This page is http://www.ecse.rpi.edu/Homepages/wrf/pmwiki/ComputerGraphicsFall2009/Homework7Solution · Last modified on December 20, 2009, at 08:34 PM · Now is April 24, 2011, 11:17: Homework 7 Solution (Computer Graphics Fall 2009) http://www.ecse.rpi.edu/Homepages/wrf/pmwiki/ComputerGraphicsFall...