This is the start of a project to make it easy for anyone to generate and render normal maps all using Javascript.
- Generating Normal Maps (Available in source)
- Real time rendering (Personal website demos)
To run the demos locally, you must host the files in this project. Otherwise you'll get a security error because the demos require reading the pixels of loaded images which isn't allowed for HTML loaded on the file:/// protocol.
-
We provide a simple Python based server for you to host files. Run the following from the command line while inside the root folder
./server
-
Now open http://localhost:8080/ and select a demo.
- Port over and cleanup real time rendering code from the live demos.
- Write up on how to us a camera to take photos that you can extract the normals of every day objects (As seen in these demos)
- Try doing the spherical harmonics version of this: - https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=spherical%20harmonics