1.0.15 • Published 2 years ago

v3d-core v1.0.15

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
2 years ago

v3d-core

WebGL-based humanoid model rendering engine.

Objectives

This project aims to be an easy-to-use library for rendering 3D and pseudo-2D humanoid models. We choose WebGL because of its portability across platforms, as well as the broad support from JavaScript community.

This project will be part of project Gamma, a free and open virtual casting solution strives to provide a friendly and safe environment for streamers.

Features

Usage

Install from NPM

npm install v3d-core

In browser

Some older browsers may not be supported.

Please see examples/browser for an example.

A more complicated example can be found in examples/classroom.

On Babylon.js Playground

Currently, this is not possible since we use a modified Babylon.js fork.

For node.js and webpack

All modules support ES6 imports.

Please see index-test.ts for an example.

Contributing

See CONTRIBUTING.md.

Build

  1. Clone this repo and submodules:

    git clone https://github.com/phantom-software-AZ/v3d-core.git --recurse-submodules

    If your Internet connection is slow, try the following instead:

    git clone https://github.com/phantom-software-AZ/v3d-core.git --recurse-submodules --shallow-submodules
  2. Build Babylon.js

    cd lib/Babylon.js && git checkout master-custom && npm install
    cd Tools/Gulp && npm install
    gulp typescript-libraries --noGlobalInstall && gulp npmPackages-es6 --noGlobalInstall
    cd ../../../..
  3. Build v3d-core

    npm install
    npm run build

    Output files will be under dist folder.

Debugging

Go to root folder of this repository and run:

$ npm run debug

The debug page can be opened in any browser with http://localhost:8080/.

Demo Viedo

See this demo video.

Credits

Licenses

see LICENSE.

Babylon.js is licensed under Apache License 2.0.

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago