Self-contained code for rendering extremely high-fidelity processed CAD models originally developed for the NASA JPL ProtoSpace project web viewer and companion application. Implements techniques for incrementally updating transforms and rendering spacecraft parts, interacting with complex hierarchies of geometries, minimizing visual impact, and compositing layers of rendered components.
Live demo of rendering trimmed down Mars 2020 CAD model here. Note that the page will download multiple hundreds of megabytes of data. Not recommended for mobile data platforms.
Warning: the m2020 model in this repository is over 1.25GB.
- Run
npm install
in the root folder. - Run
npm start
. - Visit
localhost:8080
.
Renderer and interaction implementation credit to Garrett Johnson, Marsette Vona, Charles Goddard, and the ProtoSpace team.
Copyright 2022, by the California Institute of Technology. ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.
- three.js, MIT Licensed
- inflate.js, MIT Licensed
- lzf.js, BSD-2-Clause Licensed