Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasa-ammos/cameramodelutilsjs
Set of utilities for visualizing camera models and loading image formats commonly used on JPL Mars missions.
https://github.com/nasa-ammos/cameramodelutilsjs
3d cahv cahvor cahvore camera camera-model graphics m2020 nasa nasa-jpl rover three-js threejs visualization
Last synced: 3 months ago
JSON representation
Set of utilities for visualizing camera models and loading image formats commonly used on JPL Mars missions.
- Host: GitHub
- URL: https://github.com/nasa-ammos/cameramodelutilsjs
- Owner: NASA-AMMOS
- License: apache-2.0
- Created: 2022-09-06T18:45:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-20T03:43:22.000Z (about 1 year ago)
- Last Synced: 2024-05-01T22:54:17.708Z (9 months ago)
- Topics: 3d, cahv, cahvor, cahvore, camera, camera-model, graphics, m2020, nasa, nasa-jpl, rover, three-js, threejs, visualization
- Language: JavaScript
- Homepage:
- Size: 54.1 MB
- Stars: 13
- Watchers: 4
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# CameraModelUtilsJS
[![build](https://img.shields.io/github/actions/workflow/status/NASA-AMMOS/CameraModelUtilsJS/node.js.yml?branch=main&style=flat-square&label=build)](https://github.com/NASA-AMMOS/CameraModelUtilsJS/actions)
Series of packages for visualizing and rendering images and frustum shapes based on CAHVORE camera models as well as loading SGI, PGM, PDS, and Vicar images in three.js.
![](./docs/banner.png)
## Examples
[Rendering CAHVORE Frustums](https://nasa-ammos.github.io/CameraModelUtilsJS/examples/frustumDisplay.html)
[Rendering Camera View with Distortion](https://nasa-ammos.github.io/CameraModelUtilsJS/examples/distortionPreview.html)
[Vicar Loading](https://nasa-ammos.github.io/CameraModelUtilsJS/examples/vicarLoader.html)
[PDS Loading](https://nasa-ammos.github.io/CameraModelUtilsJS/examples/pdsLoader.html)
[SGI RGB Loading](https://nasa-ammos.github.io/CameraModelUtilsJS/examples/sgiLoader.html)
[PGM Loading](https://nasa-ammos.github.io/CameraModelUtilsJS/examples/pgmLoader.html)
## Package Docs
[CAHVORE Functions and Distortion Shader](./src/cahvore-utilities/)
Three.js Javascript port of functions for retreiving distorted CAHVORE rays, calculating three.js frames and frustums, and rendering CAHVORE-distorted rendered images.
[Frustum Meshes](./src/frustum-mesh/)
Three.js utilitiies to for generating and visualizing linear and CAHVORE frustum geometry.
[SGI Loader](./src/sgi-loader/)
Utility for loading Silicon Graphics image format files into a three.js data texture.
[PGM Loader](./src/pgm-loader/)
Utility for loading PGM image format files into a three.js data texture.
[Vicar Loader](./src/vicar-loader/)
Utility for loading Vicar image format files into a three.js data texture.
[PDS Loader](./src/pds-loader/)
Utility for loading PDS image format files into a three.js data texture.
# LICENSE
The software is available under the [Apache V2.0 license](../LICENSE.txt).
Copyright © 2022 California Institute of Technology. ALL RIGHTS
RESERVED. United States Government Sponsorship Acknowledged.
Neither the name of Caltech nor its operating division, the
Jet Propulsion Laboratory, nor the names of its contributors may be
used to endorse or promote products derived from this software
without specific prior written permission.