CSC418H1 Study Guide - Final Guide: Microsoft Onenote, In C, Weighted Arithmetic Mean

58 views17 pages
20 Feb 2020
School
Course
Professor

Document Summary

Q: suppose you have a 767 772 rgb image stored in an array called data. A: data[1 + 3*(88+767*35)] (remember c++ starts counting with 0). https://onenote. officeapps. live. com/o/onenoteframe. aspx?edit=0 d527ec1945%21315&wdo=2&sc=host%3d%26qt%3dfolders&mscc=1&wdp=3. Hint: a point position (3) + normal vector (3) is too many. Consider how many numbers are needed to specify a line in 2d. We can map the normal vector to an rgb value in a linear way (e. g. , r = x + ) Can we represent sqrt{2} as a rational? https://onenote. officeapps. live. com/o/onenoteframe. aspx?edit=0 d527ec1945%21315&wdo=2&sc=host%3d%26qt%3dfolders&mscc=1&wdp=3. We need to make sure we test for s [ , ) for the same reason as we did with shadow rays; we don"t want the reflection ray to hit the object that generates it. Hint: no perfect answer, but consider: do you ever need to split a point? https://onenote. officeapps. live. com/o/onenoteframe. aspx?edit=0 d527ec1945%21315&wdo=2&sc=host%3d%26qt%3dfolders&mscc=1&wdp=3. The quality of the tree can be improved by carefully choosing axis each time.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents