https://github.com/flandredaisuki/advcg-final
https://github.com/flandredaisuki/advcg-final
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flandredaisuki/advcg-final
- Owner: FlandreDaisuki
- Created: 2015-06-15T16:47:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-05T18:02:39.000Z (almost 10 years ago)
- Last Synced: 2025-01-10T18:28:17.256Z (4 months ago)
- Language: JavaScript
- Size: 410 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AdvCG-Final
Many code from [three.js](https://github.com/mrdoob/three.js/)
The simplest implementation of Photon mapping.
# Result
Default Material
- color: 0x000000
- glossyFactor: 0
- Kd = Ka = Ks : 1, 1, 1## Exp1: glossyFactor
- 100000 times random spread photons
- collection range: 5Sphere Material
- Sphere color: 0, 0, 1
- Sphere Ka: 0.5, 0.5, 0.5
- Sphere Kd: 0.05, 0.05, 0.05
- Sphere Ks: 0.5, 0.5, 0.5
10532 photons collected
render time: 93.978 seconds
Sphere glossyFactor: 8

10481 photons collected
render time: 91.478 seconds
Sphere glossyFactor: 16

10288 photons collected
render time: 90.121 seconds
Sphere glossyFactor: 32
## Exp2: Photons Number
- collection range: 5
Sphere Material
- Sphere color: 0, 0, 1
- Sphere Ka: 0.5, 0.5, 0.5
- Sphere Kd: 0.05, 0.05, 0.05
- Sphere Ks: 0.5, 0.5, 0.5
- Sphere glossyFactor: 32
100000 times random spread photons (10288 photons collected)
render time: 90.121 seconds

200000 times random spread photons (20944 photons collected)
render time: 184.383 seconds

300000 times random spread photons (31427 photons collected)
render time: 287.818 seconds
# Lisence
The MIT License