Giter VIP home page Giter VIP logo

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)

Demo

Objective

  • Continue practicing WebGL and Typescript
  • Experiment with noise functions to procedurally generate the surface of a planet
  • Review surface reflection models

Assignment Details

Planet

  • 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;

Cloud

  • 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

  • Water will be transparent to show the underwater terrian;
  • Blinn Phong is used to simulate light reflection on ocean;

Atomsphere

  • Another transparent sphere is created to minic the glowing effect;
  • Terrain-atmosphere Color Interpolation is determined by normal and eye direction;

Useful Links

homework-1-noisy-planets-githublsx's People

Contributors

githublsx avatar imyself avatar

Watchers

 avatar

Forkers

githublsx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.