adityabatura / 6837_assignment4 Goto Github PK
View Code? Open in Web Editor NEW6.837 Assignment 4
6.837 Assignment 4
1. Compile with make clean; make. 2. Collaborated with Kenny and Giuseppe. Helped me with lighting -- I didn't know about multiplying ambient light by a diffuse or texture color. I helped them a bit with the hit detection for Group. 3. No references other than lecture slides. 4. Yes. For scene3, the sphere is "fatter" than it should be. I thought it was normals, but plotting normals (-normals normals.bmp) showed the same normals as the solution, but additional things corresponding to the "fatter" regions. I suspect it has something to do with detecting additional hits... :( I *think* the issue is I'm not passing in a clean new Hit object when doing the intersection for the transform. I probably should create Hit newHit(), then pass newHit() into the intersect(newRay, newHit, tmin) function instead of just h. Then given the newHit, compare it's t value with h.getT(). However, I tried something like that, and the lighting was way off, and I don't have time right now to figure that out :( 5. No extra credit. 6. As always, fun assignment. Debugging was a bit more annoying that previous ones, but seeing the results come together was awesome.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.