Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

A small example for using Three JS on Cesium to emulate a combined scene.

License

Notifications You must be signed in to change notification settings

CesiumGS/cesium-threejs-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cesium-threejs-experiment

A small experiment using Three JS on Cesium to emulate a combined scene. Adapted from code provided by Wilson Muktar.

Here on github pages.

Getting Started

Requires Node.js, we recommend version 4.4+. From the root directory, run:

npm install

This will automatically download Cesium and Threejs, then copy the relevant files over to public/Thirdparty. Then, run:

npm run start

or

node server.js

You should see:

restify listening at http://127.0.0.1:8080

Navigate to http://localhost:8080 to view the experiment! You can also use other ports:

node server.js --port=4040
restify listening at http://127.0.0.1:4040

Most of the interesting code is in public/CesiumThree.js. To view changes to the demo, just refresh (or cache refresh) your browser.

About

A small example for using Three JS on Cesium to emulate a combined scene.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published