rSimulate / Cosmosium

:earth_americas: js game engine for space-based games
Other
23 stars 7 forks source link

Something cool with cesium.js #33

Open 7yl4r opened 10 years ago

7yl4r commented 10 years ago

http://cesiumjs.org/ looks really cool. Let's use it for something! Ideas? Thoughts?

iontom commented 10 years ago

We might look to eventually reorganize our source to resemble theirs: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Source/Scene

They combine everything with RequireJS as seen here: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/main.js

The most amazing add we could create would be a frustum condition: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/FrustumCommands.js https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/PerspectiveFrustum.js (That way we could load models of asteroids and spacecraft when they are selected and the camera zoomed in)

Also, we might try to figure out how their spacecraft orbital ellipse system works, because then we could use it to make a 2D satelite viewer for a mission control / launch page https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/EllipsoidSurfaceAppearance.js http://i.imgur.com/lGr3neE.png

7yl4r commented 10 years ago

Wow. The last one is the only one that I thought of, but there are a lot of great ideas we'll have to come back to. Awesome.