Skip to content

DigitalArsenal/space-data-network-plugin-sensor-shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@orbpro/plugin-sensor-shaders

OrbPro Sensor Shaders Plugin.

Provides a collection of GPU shaders for rendering sensor volumes, coverage cones, and field-of-view geometries in the OrbPro/CesiumJS visualization engine. Distributed as a compiled ES module.

Installation

npm install @orbpro/plugin-sensor-shaders

This package is intended to be used within an OrbPro workspace or alongside the OrbPro engine. Standalone use requires the OrbPro plugin-sdk.

Building

Build the module using the OrbPro plugin-sdk:

# From within the OrbPro plugin-sdk workspace:
npm run build:sensor-shaders
# Output: dist/sensor-shaders.mjs

Usage

Via SDN Plugin Delivery (ecies-decrypted bytes)

import { loadSensorShaders } from "@orbpro/plugin-sensor-shaders";

// wasmBytes are delivered pre-decrypted by the SDN plugin-delivery system
// (ecies-x25519-hkdf-sha256-aes-256-gcm)
const shaders = await loadSensorShaders({ wasmBytes });

Direct / Development

import { loadSensorShaders } from "@orbpro/plugin-sensor-shaders";

// Without wasmBytes, loads raw module from dist/sensor-shaders.mjs
const shaders = await loadSensorShaders();

Options

Option Type Description
wasmBytes Uint8Array Pre-decrypted module bytes from the SDN delivery system.
decryptFn Function Legacy AES-256-GCM decrypt function (protection-runtime).
lowMemory boolean Use reduced memory configuration.

License

UNLICENSED — Proprietary. All rights reserved by DigitalArsenal.io, Inc.

About

OrbPro Sensor Shaders — multiple sensor-specific GLSL shaders for visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors