Giter Club home page Giter Club logo

flyhex / cis565finalprojectcesiumsnow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huyuxin/cis565finalprojectcesiumsnow

0.0 0.0 0.0 513.3 MB

University of Pennsylvania 2017Fall CIS565 Final Project on Snow Rendering in Cesium. This is a fork repository from AnalyticalGraphicsInc/cesium (https://github.com/AnalyticalGraphicsInc/cesium), with a change in a branch adding the globe material support. We document any new changes done by us in CIS565FinalProjectREADME.md

License: Apache License 2.0

HTML 7.32% CSS 2.53% JavaScript 86.53% GLSL 1.03% Shell 0.01% Perl 1.32% C 1.26% C++ 0.01% MATLAB 0.01%

cis565finalprojectcesiumsnow's Introduction

Build Status  Docs

Cesium is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.

http://cesiumjs.org/

Get Started

THis is just the readme for the Perlin Noise Function in SnowMaterials

The snow slope is used to blend a white color with the texture of the terrain. Now that slope amplitude is modulated by perlin noise. THere is a 2D texture of random noise used which is used for generating random values. A random float is generated by interpolating a 2D texture with a 3D coordinate. In the current implementation the 3D coordinate is the model space position. This has the nice property that as you pan around, the snow drifts are fixed with the terrain, not the camera.

The 3D noise function was writted by Stefan Gustafson from 2004.

In snow materials one can change the repetition scale

SCALE = 100000;

Change the persistance

persistance = 0.5

Change how much noise is added to the slope

NoiseFraction = 0.4 (according to Snow paper)

Change the number of octaves to add in

orders = 5

Visit the Downloads page or use the npm module:

npm install cesium

Have questions? Ask them on the forum.

Interested in contributing? See CONTRIBUTING.md.

Mission

Our mission is to create the leading 3D globe and map for static and time-dynamic content, with the best possible performance, precision, visual quality, platform support, community, and ease of use.

License

Apache 2.0. Cesium is free for both commercial and non-commercial use.

We appreciate attribution by including the Cesium logo and link in your app.

Featured Demos

                     

Demos

                                                                                                                                                                                                                                   

cis565finalprojectcesiumsnow's People

Contributors

huyuxin avatar akhabbaz 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.