Coder Social home page Coder Social logo

lichengtao1989 / model-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/model-viewer

0.0 0.0 0.0 2.77 GB

Easily display interactive 3D models on the web and in AR!

Home Page: https://modelviewer.dev

License: Apache License 2.0

HTML 12.30% JavaScript 2.27% TypeScript 82.95% Shell 1.31% CSS 1.17%

model-viewer's Introduction

The <model-viewer> project

This is the main Github repository for the <model-viewer> web component and all of its related projects.

Getting started? Check out the <model-viewer> project!

The repository is organized into sub-directories containing the various projects. Check out the README.md files for specific projects to get more details:

๐Ÿ‘ฉโ€๐Ÿš€ <model-viewer> โ€ข The <model-viewer> web component (probably what you are looking for)

๐ŸŒ modelviewer.dev โ€ข The source for the <model-viewer> documentation website

๐Ÿ–ผ render-fidelity-tools โ€ข Tools for testing how well <model-viewer> renders models

๐ŸŽจ shared-assets โ€ข 3D models, environment maps and other assets shared across many sub-projects

๐Ÿ“ฆ 3DOM โ€ข A generic glTF scene graph API that enables operations on 3D models while abstracting the in-memory representation.

Development

When developing across all the projects in this repository, first install git, Node.js and npm.

Then, perform the following steps to get set up for development:

git clone --depth=1 [email protected]:google/model-viewer.git
cd model-viewer
npm install
npm run bootstrap

Note: depth=1 keeps you from downloading our ~3Gb of history, which is dominated by all the versions of our golden render fidelity images.

The following global commands are available:

Command Description
npm run bootstrap Bootstraps the project for development and cross-links sub-projects
npm run build Runs the build step for all sub-projects
npm run build:legacy-support Builds JS bundles that have IE11 support
npm run serve Runs a web server and opens a new browser tab pointed to the local copy of modelviewer.dev (don't forget to build!)
npm run test Runs tests in all sub-projects that have them
npm run clean Removes built artifacts from all sub-projects

You should now be ready to work on any of the <model-viewer> projects!

model-viewer's People

Contributors

bialpio avatar bsdorra avatar cdata avatar chrismgeorge avatar cwervo avatar dependabot[bot] avatar elalish avatar hjeldin avatar johnpallett avatar jpmedley avatar jsantell avatar kaldap avatar klausw avatar mikkoh avatar mkeblx avatar motinados avatar mqg734 avatar mrdoob avatar prideout avatar pushmatrix avatar rkochman avatar smalls avatar sorskoot avatar stevesan avatar sun765 avatar takahirox avatar theprojectsomething avatar yiyix avatar yuinchien avatar ziyanma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.