暂无描述

David Rousset c094eb03e3 Fixing callback logic in WebVR controllers 7 年之前
.vscode 63f753c3b5 Firs step toward nullEngine 7 年之前
Exporters 6c27d5c451 Moved Exporters to https://github.com/BabylonJS/Exporters 7 年之前
Playground 37e3486186 Include the GUI library 7 年之前
Tools 9da159e8c2 Merge preparation 7 年之前
assets 1f6f1d34ef Addition of models for the Motion Controllers that come with the Samsung Odyssey headset 7 年之前
dist c094eb03e3 Fixing callback logic in WebVR controllers 7 年之前
gui 9d9c43533f Merge pull request #2951 from royibernthal/master 7 年之前
inspector 08783affe9 NoImplicitThis 7 年之前
loaders b359d192c2 Fix LOD issue 7 年之前
localDev cd1d1a5678 ArcRotate Interactions 8 年之前
materialsLibrary 323875b564 Implicit any 7 年之前
postProcessLibrary 08783affe9 NoImplicitThis 7 年之前
proceduralTexturesLibrary 08783affe9 NoImplicitThis 7 年之前
sandbox 61d3927fa8 Finsihed pinchDeltaPercentage 7 年之前
serializers 08783affe9 NoImplicitThis 7 年之前
src c094eb03e3 Fixing callback logic in WebVR controllers 7 年之前
tests ecf0150d25 Fixed #2966 7 年之前
.gitattributes e46bb580f5 Ignore whitespace and new lines from windows OS 9 年之前
.gitignore fe7bc7e66c REmoved canvas2d tests 8 年之前
.gitmodules eb1b2745f6 DAE Exporter 11 年之前
.travis.yml 1dabcd6f7f travis should use node 6 8 年之前
bower.json 34ad342456 Update bower.json to latest version 8 年之前
contributing.md c8c6d6876a Update contributing.md 8 年之前
license.md 4f44f2ce56 Moved license to a separate file 8 年之前
package.json 73396a3b50 NPM Version bump 7 年之前
readme.md fb3f3b00c0 Update readme 7 年之前
tslint.json bd6328c459 none squared capture 8 年之前
what's new.md 60c020ad96 Added feault normals generation for standard material 8 年之前

readme.md

Babylon.js

Getting started? Play directly with the Babylon.js API via our playground. It contains also lot of simple samples to learn how to use it.

Build Status

Any questions? Here is our official forum on www.html5gamedevs.com.

CDN

Additional references can be found on https://cdn.babylonjs.com/xxx where xxx is the folder structure you can find in the /dist folder like https://cdn.babylonjs.com/gui/babylon.gui.min.js

For preview release you can use the following ones:

Additional references can be found on https://preview.babylonjs.com/xxx where xxx is the folder structure you can find in the /dist/preview release folder like https://preview.babylonjs.com/gui/babylon.gui.min.js

NPM

BabylonJS and its modules are published on NPM with full typing support. To install use

npm install babylonjs --save

This will allow you to import BabylonJS entirely using:

import * as BABYLON from 'babylonjs';

or individual classes using:

import { Scene, Engine } from 'babylonjs';

If using TypeScript, don't forget to add 'babylonjs' to 'types' in tsconfig.json:

    ....
    "types": [
        "babylonjs",
        "anotherAwesomeDependency"
    ],
    ....

To add a module install the respected package. A list of extra packages and their installation instructions can be found on babylonjs' user at npm.

Preview release

3.1-alpha can be found here. If you want to contribute, please read our contribution guidelines first.

Documentation

Useful links

  • Official web site: www.babylonjs.com
  • Online sandbox where you can test your .babylon scenes with a simple drag'n'drop
  • Online shader creation tool where you can learn how to create GLSL shaders
  • 3DS Max exporter can be used to generate a .babylon file from 3DS Max
  • Blender exporter can be used to generate a .babylon file from Blender 3d
  • Unity 5 exporter can be used to export your geometries from Unity 5 scene editor(animations are supported)

Features

To get a complete list of supported features, please visit our website.