Giter VIP home page Giter VIP logo

homework-1-noisy-planets-sangeun44's Introduction

CIS 566 Project 1: Noisy Planets

Name: Sangeun Lee PennKey: eunsang

Mountains -Worked with recursive 3D Simplex noise to create spikes -Modifiable spikes from dat.GUI -Pulses on a sin curve to look like a heart pulse

Planet -Heart shaped planet created with parabolic curves -Fragment shaded with Toon Shader creating a pulsing core that looks like a lava lamp

Bunnies -Shaped with parabolic curves -The bunnies were given dresses created from 3D simplex noise -Simplex Noise dresses

Sky -created from a sphere -Perlin Noise recursion on a sphere with inverted vertex normals

Objective

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

Base Code

You'll be using the same base code as in homework 0.

Assignment Details

  • Update the basic scene from your homework 0 implementation so that it renders an icosphere once again. We recommend increasing the icosphere's subdivision level to 6 so you have more vertices with which to work.
  • Write a new GLSL shader program that incorporates various noise functions and noise function permutations to offset the surface of the icosphere and modify the color of the icosphere so that it looks like a planet with geographic features. Try making formations like mountain ranges, oceans, rivers, lakes, canyons, volcanoes, ice caps, glaciers, or even forests. We recommend using 3D noise functions whenever possible so that you don't have UV distortion, though that effect may be desirable if you're trying to make the poles of your planet stand out more.
  • Implement various surface reflection models (e.g. Lambertian, Blinn-Phong, Matcap/Lit Sphere, Raytraced Specular Reflection) on the planet's surface to better distinguish the different formations (and perhaps even biomes) on the surface of your planet. Make sure your planet has a "day" side and a "night" side; you could even place small illuminated areas on the night side to represent cities lit up at night.
  • Add GUI elements via dat.GUI that allow the user to modify different attributes of your planet. This can be as simple as changing the relative location of the sun to as complex as redistributing biomes based on overall planet temperature. You should have at least three modifiable attributes.
  • Have fun experimenting with different features on your planet. If you want, you can even try making multiple planets! Your score on this assignment is in part dependent on how interesting you make your planet, so try to experiment with as much as you can!

Submission

Commit and push to Github, then submit a link to your commit on Canvas.

For this assignment, and for all future assignments, modify this README file so that it contains the following information:

Extra Credit

  • Use a 4D noise function to modify the terrain over time, where time is the fourth dimension that is updated each frame. A 3D function will work, too, but the change in noise will look more "directional" than if you use 4D.
  • Use music to animate aspects of your planet's terrain (e.g. mountain height, brightness of emissive areas, water levels, etc.)
  • Create a background for your planet using a raytraced sky box that includes things like the sun, stars, or even nebulae.

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

Contributors

imyself avatar sangeun44 avatar

Watchers

 avatar

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.