Giter Site home page Giter Site logo

coryg89 / moondemo Goto Github PK

View Code? Open in Web Editor NEW
102.0 7.0 21.0 62.44 MB

A 3D Moon Demo in WebGL and JavaScript -- Texture map from Clementine spacecraft data

Home Page: http://coryg89.github.io/MoonDemo

License: MIT License

CSS 10.41% JavaScript 89.59%

moondemo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

moondemo's Issues

Error in Firefox - moon doesn't show up

The moon doesn't show up in Firefox 33, leaving just a skybox filled with stars.

Screenshot: http://i.imgur.com/xhWJfLh.png

Here is the error in console:

THREE.Material: 'vertexShader' parameter is undefined.
three.min.js (line 259)
THREE.Material: 'fragmentShader' parameter is undefined.
three.min.js (line 259)

Could not initialise shader VALIDATE_STATUS: false, gl error [0]
THREE.WebGLRenderer/this.initMaterial()three.min.js (line 492)
z()three.min.js (line 386)
THREE.WebGLRenderer/this.renderBuffer()three.min.js (line 439)
l()three.min.js (line 376)
THREE.WebGLRenderer/this.render()three.min.js (line 453)
animate()index.js (line 137)
onWindowLoaded/<.onComplete()index.js (line 241)
getOnLoad/<()index.js (line 205)
THREE.ImageUtils.loadTexture/b<()three.min.js (line 514)
THREE.ImageLoader.prototype.load/<()three.min.js (line 216)
three.min.js (line 492)
Program Info Log: Vertex info ----------- (0) : error C5145: must write to gl_Position
THREE.WebGLRenderer/this.initMaterial()three.min.js (line 493)
z()three.min.js (line 386)
THREE.WebGLRenderer/this.renderBuffer()three.min.js (line 439)
l()three.min.js (line 376)
THREE.WebGLRenderer/this.render()three.min.js (line 453)
animate()index.js (line 137)
onWindowLoaded/<.onComplete()index.js (line 241)
getOnLoad/<()index.js (line 205)
THREE.ImageUtils.loadTexture/b<()three.min.js (line 514)
THREE.ImageLoader.prototype.load/<()three.min.js (line 216)
three.min.js (line 493)

Sharper terminator

Hi:
Amazing! bravo !!
Just one question ... how can I create a sharper terminator ?
I mean, the zone between light and dark ... astronomically speaking, it should be more sharp, not so faded as shown.
Thank you !

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.