Skip to content

3d file viewer component for the web: fast, small & clean !

License

Notifications You must be signed in to change notification settings

usco/usco-web-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usco-web-viewer

GitHub version experimental Build Status Dependency Status devDependency Status

Web based viewer of usco project

This is a small-ish (700 kb minified) web based 3d file viewer component : minimal renderer + loading (

  • coded in es6
  • uses streaming (node.js streams) to minimize memory consumption
  • functional/ FRP oriented
  • uses regl as functional WebGL framework

Table of Contents

Background

  • uses the fantastic regl (declarative stateless rendering)
  • uses the also great glsify
  • and let us not forget most for observables
  • and many more

Installation

npm install

build distributable

npm run build

launch dev server

npm run start-dev

Usage

See index.html for an example of use : this is not meant to be used as a library !

Because of the dependency on fetch + readeable streams , if not running this in a recent Chrome/Chromium you will need a few polyfills : these are also provided in the dist folder

Branding:

branding/ logos displayed in the app are flat 3d geometry generated from svg Files for increased quality & speed : to regenerate those files , please see the script in src/branding/generateBrandingGeoFromSvg

and use the following command:

  node src/branding/launchGenBrandingGeoFromSvg.js

Contribute

PRs accepted.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

The MIT License (MIT) (unless specified otherwise)

About

3d file viewer component for the web: fast, small & clean !

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages