babylon-runtime / babylon-runtime.github.io Goto Github PK
View Code? Open in Web Editor NEWSource code for _r documentation
Home Page: https://babylon-runtime.github.io
License: Apache License 2.0
Source code for _r documentation
Home Page: https://babylon-runtime.github.io
License: Apache License 2.0
In https://babylon-runtime.github.io/documentation/#launching-a-scene , wrong _r link in this sandbox
just use function(){return texture}:
_r.load.texture("lightmap.jpg", {
coordinatesIndex: 1
}).then(function (texture) {
_r.patch([{
"*name*:material": {
"lightmapTexture": function(){return texture},
"useLightmapAsShadowmap": true
}
}]);
});
I have to convert this demo using _r https://www.nothing-is-3d.com/data/medias/folio/3drealtime/lightmaps-workflow-tutorial/demo.html for showcase page.
var engine = new BABYLON.Engine(canvas, true, {disableWebGL2Support: true, useHighPrecisionFloats: false});
material : { subMaterials : { "*"
are usedwrite very quick tips about commons use cases
3D modeler <-> scene <-> [ patches ] <-> final result
https://babylon-runtime.github.io/api/select
(addToScene, removeFromScene, etc)
"test*:material"
, etc
firsts drafts of:
*
[{
exec: function () {
new BABYLON.FreeCamera("camDev", BABYLON.Vector3.Zero(), _r.scene);
}
},
{
"camDev": {
"name": "camDev",
"fov": 1.5,
"speed": 0.2,
"minZ": 0.01,
"maxZ": 1000
}
}
]
_r.downloadScene({
scene : "scene.babylon",
patch : [],
ready : function() {
}
});
_r.downloadScene(options)
options =
loadingScreen? : boolean;
ready? : Function;
progress? : Function;
error? : Function;
scene? : string;
assets? : string;
patch? : any;
addAllToScene? : boolean;
tip: set addAllToScene to true, use ready function to know when download is done
we'll list here potential themes for the final website
Help send 404 for now, but I suppose it was here to send users to Gitter & also our BJS forum profile page? (and even social networks)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.