View Code? Open in Web Editor
NEW
homework-1-noisy-planets-githublsx created by GitHub Classroom
HTML 0.39%
TypeScript 44.30%
GLSL 54.78%
JavaScript 0.53%
homework-1-noisy-planets-githublsx's Introduction
CIS 566 Project 1: Noisy Planets
- Name: Linshen Xiao
- PennKey: Linshen
- Tested on: Windows 10, Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz, 16.0GB, NVIDIA GeForce GTX 970M (Personal computer)
![](img/earth.png)
- Continue practicing WebGL and Typescript
- Experiment with noise functions to procedurally generate the surface of a planet
- Review surface reflection models
- Fractal Brownian Motion is used to create terrian.
- There are 7 levels: Deepest water, deeper water, water, shore, dirt, rock, snow;
- Fractal Brownian Motion is used to determine if the plants will cover the terrian, plants will not cover water and snow;
- Blinn Phong is used to simulate light reflection on ocean and ice/snow;
- Normal is calculated with Gradient Approximation;
- Fractal Brownian Motion is used to determine the alpha value;
- Fractal Brownian Motion is used to determine if the terrian and ocean is coverd by cloud to create shadow;
- Water will be transparent to show the underwater terrian;
- Blinn Phong is used to simulate light reflection on ocean;
- Another transparent sphere is created to minic the glowing effect;
- Terrain-atmosphere Color Interpolation is determined by normal and eye direction;
homework-1-noisy-planets-githublsx's People
Contributors
Watchers