coryg89 / moondemo Goto Github PK
View Code? Open in Web Editor NEWA 3D Moon Demo in WebGL and JavaScript -- Texture map from Clementine spacecraft data
Home Page: http://coryg89.github.io/MoonDemo
License: MIT License
A 3D Moon Demo in WebGL and JavaScript -- Texture map from Clementine spacecraft data
Home Page: http://coryg89.github.io/MoonDemo
License: MIT License
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)
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 !
Amazing work!
What would I need to do to keep the moon entirely lit all the time?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.