Assignment 5 FAQ and Student Discussion Page

The course staff will post answers to frequently asked questions about assignment 5 here. Feel free to add to this page yourself if you've got information to share with the rest of the class. Remember, the quickest way to get a response from a TA is to post to

My recovered HDR image looks like it has the correct red color, but the green and blue are wrong.

When you do logf(dt) it gives you back a float. If you then use this directly in an expression with an STColor, such as color - logf(dt), it will cast the result of logf(dt) to an STColor automatically using the constructor STColor(float,float,float). However, the default values for that constructor cause the red component to get the right value, but the green and blue to be set to 0. Instead, construct an STColor explicitly and then use it in the expression.

last edited 2007-02-21 19:20:33 by nymphomaniac