暂无描述

David Catuhe 9998956658 Nightly 8 年之前
.vscode 6523d470db Fix issue 8 年之前
Exporters f80418cecf Rebuild binary files 8 年之前
Playground 613af5b1b9 Fix playground bug when dist=true 8 年之前
Tools 2bfb75fd39 quick fix for npm deploy 8 年之前
assets f03896bb10 Updated motion controllers to use final GLB assets. 8 年之前
dist 9998956658 Nightly 8 年之前
gui 6480502654 Associated with #2745 8 年之前
inspector 1b0b621fac Center color box on the line #2827 8 年之前
loaders b1d52bc726 Merge pull request #2863 from RaananW/mtl-obj-loader 8 年之前
localDev cd1d1a5678 ArcRotate Interactions 8 年之前
materialsLibrary 7baaa7a094 InvertNormalMapX/Y now invert the tangent space instead of normal map values 8 年之前
postProcessLibrary 1b48f67f75 Add Inspector Shortcut 8 年之前
proceduralTexturesLibrary 991415253c Adding perlin noise to procedural textures library 8 年之前
sandbox d95238cf66 Fixes https://github.com/BabylonJS/Website/issues/128 8 年之前
serializers 25cac4667d Adding support to Babylon.JS for morph targets 8 年之前
src 867254aa81 nightly 8 年之前
tests 54b967fd0c Update all reference images to match current values 8 年之前
.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 3611eb0cd2 updating package.json 8 年之前
readme.md f686d88533 fixing readme.md of the main framework 8 年之前
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
  • FBX command line exporter can be used to generate a .babylon file from .FBX file (animations are supported)

Features

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