pablo-mayrgundter / Online3DViewer

A solution to visualize and explore 3D models in your browser.

Home Page:https://3dviewer.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online 3D Viewer - Bldrs

This is a fork of Online3DViewer for use in terminal/headless environments.

Build

npm i
npm run build_dist_bldrs
ls dist/
o3dv.cjs		web-ifc-node.wasm

Changelog:

0.9.0-bldrs-2

  • Remove web-ifc-node.wasm to from lib/loaders
  • Change package.json#main to dist/o3dv.cjs

0.9.0-bldrs-1

  • Add npm script create_dist_bldrs
  • Clean some lint

0.9.0-bldrs

  • Forked from https://github.com/kovacsv/Online3DViewer @ 0.9.0
  • Builds a bundle at ./build/engine/o3dv.cjs with tools/esbuild.js, targeting Node and CJS
  • Tested with headless-three
    • Supports: ifc, obj, stl, fbx, 3ds, ply, bim
  • web-ifc 0.0.39 -> 0.0.42
  • Some experimenting with rollup CJS build
  • Disable hasHighpDriverIssue/mobile testing (requires a canvas)
  • Avoid FileReader with node fs-based reading

TODO

Known Issues

  • Not clear how OV is doing camera setup, but camera coordinates seem to work
  • Tests: 206 passing, 23 failing

Feature Requests

  • Add format support, by priority: glb, gltf, 3dm, 3mf, fcstd, amf, dae, mtl, off, wrl
  • Better rendering:
    • Antialiasing
    • A few nice environment maps?

About

A solution to visualize and explore 3D models in your browser.

https://3dviewer.net

License:MIT License


Languages

Language:JavaScript 97.3%Language:HTML 1.5%Language:Python 0.7%Language:CSS 0.5%Language:C++ 0.0%Language:Roff 0.0%Language:Batchfile 0.0%