Popular Content

Showing content with the highest reputation since 12/10/2017 in all areas

  1. 25 points

    Babylon.js 3.1 is available!!!

    Dear beloved community, I'm thrilled to announce that Babylon.js v3.1 is available. For this special occasion, we created a cool announcement video: I will blog on dev.windows.com later today but I wanted to share with you beforehand The list of features is (as always) really great and we can all be really proud of such an achievement! We also shipped several WebVR demos: And do not miss our hero demos: Congrats team!!!
  2. 24 points

    Babylon.js v3.2 is out

    It's celebration time! I'm so thrilled to announce that Babylon.js v3.2 is now out. Once again this could not have being possible without all of you (contributors, testers, bug hunters, doc writers)! Thanks folks! We have a wonderful vibrant community. So feel proud, share it, love it, use it Here is the release notes: http://doc.babylonjs.com/whats-new The blog will it the social network at 10am PST! And the announcement video:
  3. 16 points

    GPU particles

    Heya team!! I'm proud to announce that the GPU particles feature is now available! Documentation: http://doc.babylonjs.com/babylon101/particles#gpu-particles Interactive demo: https://www.babylonjs-playground.com/#PU4WYI#2 Please note that this feature requires webGL2 or it will fallback to CPU particles
  4. 16 points

    Glow Layer

    Hello, It has been a while I did not introduced a new feature in BJS so as the higlight layer was famous, let s introduce the glow layer: http://www.babylonjs.com/demos/glowlayer/ Documentation is available here: https://doc.babylonjs.com/how_to/glow_layer
  5. 14 points

    OfficeGames project

    Hi people, I'm glad to introduce you to my new project : OfficeGames. http://officegames.eu Well ... 3D games for office computers (not only, though). As said in the text, there's only one game for now and it's not even finished. I need your feedback and ideas to improve it and get it to the right direction. So please let your opinions, comments, criticisms, wishes, whatever in this thread. I won't answer everyone but will read them all for sure. Have fun [EDIT] FYI, my best score ever is 10200.
  6. 13 points

    Stupax - Sidescroller game

    Hi all, I would like to introduce Stupax: A different sidescroller game, where you are not the guy, you are the level! In fact you control a movable platform using the arrow keys or your gamepad (Gamepad API) to help the guy (namely Stupax) to get through the levels. You can play the game here: http://mbarde.bplaced.de/stupax/ Controls: Arrow keys / Gamepad 'R' for level restart 'ESC' pause game and open menu Create and test your own levels here: http://mbarde.bplaced.de/stupax/editor.html You can find further information on my website and view the source code including contributions for the music, sounds and textures on GitHub.
  7. 13 points
    The default pipeline has been updated to add Depth of field, Grain, Chromatic aberration and MSAA post processing. The existing bloom effect has also been updated to only bloom the bright highlights instead of blurring the entire image. See the updated demo and docs. Please let me know if you have any feedback. Thanks!
  8. 13 points

    Animation weights

    Hey team! @MackeyK24 asked for it with so much energy that I spent my entire week end working on a new feature: the animation weights support To learn more about it, please read the doc here: http://doc.babylonjs.com/babylon101/animations#animation-weights A demo can be found here: https://www.babylonjs-playground.com/#IQN716#3 As always, any feedback is welcome! Note: I could have added a third animation to the demo (a run animation) but the model animation for run is a bit bad (it looked like the model was flying). If you have a better model, feel free to let me know
  9. 12 points

    New Class API documentation

    Hello team! I'm thrilled to announce that the new API doc is online. It is still beta so please report here any issue you may find. We moved to Typedoc to generate our doc in order to get: - Better readibility - Better Typescript support - More flexibility You can find it here: http://doc.babylonjs.com/api.html Have fun reading the doc PS: We are still looking for more volunteers to help writing API code comments
  10. 11 points
    Samuel Girardin

    Energy.js playground

    Hi, I've made few playgrounds using energy.js (it's a physic engine) , so you can test the engine live. It's still an alpha version, but you can fun ! bounce box ball joint wood machine vehicle (arrow keys) Typescript sources, grunt, etc : github It's quite tricky to get the engine works on the playground (append script and refresh), maybe you can have after multiple run a memory error). sam
  11. 10 points

    New examples tab in documentation

    Hello team! I'm glad to announce the availability of the new Examples tab: http://doc.babylonjs.com/examples/ The goal is to present useful PG in a filterable way. Every example will open the PG in the right iframe and you can then click on edit to see it directly in the Playground. If you want to add more please just update this file: https://github.com/BabylonJS/Documentation/blob/master/examples/list.json Icons are saved here: https://github.com/BabylonJS/Documentation/tree/master/examples/icons and must be 125x125 images Hope you will find it useful!
  12. 9 points
    Hi everyone, I've created over 1000 tracks of music and sound effects that you are welcome to use in your games. It's all original...all my own work. All I ask is to be attributed as indicated on my homepage: http://soundimage.org/ I sincerely hope my tracks are helpful. Any and all feedback is welcome and always appreciated. All the best, Eric
  13. 9 points

    //Build 2018

    Hello team! I won't be able to help on the forum until this Thursday as I will be with @davrous, @Sebavan and @trevordev on the Babylon.js booth at Build 2018 (Seattle) If by chance you are around please come and say hi:)
  14. 9 points

    //Build 2018

    Some pictures of the booth:
  15. 9 points

    Multiplayer Test with NullEngine()

    Hi Guys! I haven't been active here for quite some time and haven't done anything with Babylon.JS for quite a long time. But after checking out the changelogs, I saw that we can now run Babylon.js Server Side, how awesome is that! So I had to squeeze in some time and implement a proof of concept multiplayer simulation with Client and Server side physics engine. It's quite basic. The Client can control a ball by spinning it forward or backward (with W and S). By changing the camera angle (with A and D) you can change the direction of the impulse. With Space you can jump around. To check out how it behaves with multiple players you can either ask someone to also visit the site at the same time or just open a new tab in your browser. Technical it is rather simple. Server and Client communicate via Websockets. The client applies impulses to it's ball, these parameters for these impulses are sent to the server. The server applies these also and keeps the state for the whole world up to date. Each render loop the server sends the current state to all the clients (ideally 60 Hz). The clients then correct the position, direction and velocity of all objects including their own ball if needed. I haven't tried it out with higher delays, but I would suspect the result will be quite "jumpy". Interpolation for correction and prediction of movement is not (yet) implemented. Added Server Update Rate and Ping to see lags and delay in perspective to these metrics. Here is the code: https://github.com/j-o-d-o/multiplayer-babylon-js-game Here is the Demo: Here is a great article about Server-Client Game Networking techniques: http://www.gabrielgambetta.com/client-server-game-architecture.html which was somewhat the motivation to implement this proof of concept.
  16. 9 points

    Webgl 2 Shadows

    Hello, Thanks to Webgl 2, we have been able to introduce two new kind of shadows: PCF (improved version of poisson sampling) and PCSS (contact hardening shadows). They are only available on Webgl 2 and will fallback to poisson sampling on other devices. Here is a quick shot at how contact hardening tries to simulate real life by getting softer when the blocker is further away from the receiver: https://playground.babylonjs.com/#ZT8BKT#2 And a real use in a scene with self shadows: https://www.babylonjs-playground.com/#EYEPRI#3 As usual, the doc have been upgraded: https://doc.babylonjs.com/babylon101/shadows#percentage-closer-filtering-webgl2-only And to properly setup self shadow: https://doc.babylonjs.com/babylon101/shadows#self-shadow Hope you ll enjoy it.
  17. 9 points

    3D Level Editor

    A bit on the early side, but I've been working on a 3D level editor and a game to go with it. I did look for 3D WebGL map editors when I started and didn't come across any open source (besides Voxel type) and I want to use ie: glTF models inside the editor and integrate in a game and one day a easy to use game creation engine. The editor itself will be open sourced (right now it's too tightly integrated with the game). Hoping it will make game development easier and faster for games with small maps (2D, 2.5D or 3D) - users often have better ideas than game creators ever could have imagined! Partly inspired by this project https://brianzinn.github.io/react-redux-babylonjs-starter-kit/quarto (I copied the game from @Temechon). The first version of the level editor is here: http://robolo.co/game/build It's very PoC (Proof of Concept) material with lots of known issues and bugs. My next idea is instead of having the semi circle of things to instead have a tray that slides out in front of the board (and board slides back). Then I won't need all the popups with tiny text and it will work in VR. Right now the levels that you create can be published to the game, but not always published correctly, sorry . Publishing a level creates a URL you can share, though! To give an idea of how some bots work I created a 4 level tutorial: http://robolo.co/game/play (if the roboloco logo is spinning a level is loading... i'm on an affordable tier!) The game received lots of constructive feedback from an Indie game dev meetup this week, so will be working on those ideas, but unfortunately really busy on other things as well So, back to the drawing board... again. Thanks!
  18. 9 points

    360 videos

    Hello team, I'm happy to announce the availability of the Video dome! It is a new utterly simple tool to display 360 videos in your scene (with support for FOV change and VR of course) Demo: https://www.babylonjs-playground.com/#1E9JQ8#7 Doc: http://doc.babylonjs.com/how_to/360videodome
  19. 9 points

    Solid Particle Parenting

    Hi Folks, Here's a SPS new feature : the particle parenting. Simple to understand : once a particle has a parent, all its rotation, position and pivot are then expressed in the parent particle local space. Simple to use : sps.initParticles = function() { for (var i = 1; i < sps.nbParticles; i++) { // declare each previous particle as the parent of the current one sps.particles[i].parentId = i - 1; } }; sps.updateParticle = function(p) { // each particle will rotate for +0.001 in the already rotated parent space particle.rotation.z += 0.001; } examples : the green box is parented to the translating red one, it also rotates around a local pivot http://jerome.bousquie.fr/BJS/test/spsParenting.html 600 boxes, parented per groups (stems) of 10, each rotating around its pivot : http://jerome.bousquie.fr/BJS/test/spsParenting2.html
  20. 9 points

    MoviRender - under construction

    Hello, I wanted to introduce a new project that I have been working on for some time in parallel with HeroonEngine. It's a 3D interactive story editor with game-shaped animations with hiding points to find or interactive objects to click to advance a story that you create, which can happen successfully or with failure. You will be able : - Create multiple scenes and navigate from one to the other to make indoor scenes, other outdoor ... - Create multiple cameras per scene to create different viewpoints as can be seen in the movies and also navigate from one to the other. The cameras to create are cameras spectator, there is also a camera made by default for the editor which is the user camera not use on the final rendering of the game. - Create a scene from scratch with a terrain and a user camera and a default spectator camera or create from a list of prefect scenes with different themes that you can complete and save to continue your work later. - Add primitive objects (to create hiding points to click) or customize for a scene, position them, turn them and scale them. Its objects can be interactive or not, made visible or hidden and what does its interaction do following a type of click (single, double, drag and long) but also the camera change, scene change, triggering animations, dialogues, effects, sounds or to make hidden objects visible ... - Animate objects, cameras and characters that are triggered with interactions on objects to advance the story. - Each scene has default shadows to activate and a default sky rotation, you can change the environment settings by changing the sky texture, add fog and change post-process and others. - You can also add backgrounds of different types to simulate a scene background. Ideal for creating depth quickly. - You can also create lights, the edit and exclude objects to illuminate. So you can create with MoviRender all kind of interactive story. This can be a police investigation to solve and according to the choices made, the story runs successfully or with failure. It's still under construction, but it's at a good enough scene to be able to talk about it. I do not know when I could finish it, I still need maybe 2, 3 months of work on it to release a first public version. I also have the whole site to do with tutorials. So I still have a lot of work. I think it's something that can be fun to create interactive stories. Feel free to leave your comments to get your opinion on this project. If you have ideas of what you would like to do with this kind of program, it may inspire me to add what I would not think. I will make an announcement when this project is available. Thank you. Here is a small screenshot:
  21. 8 points
    The Leftover

    Illuminated City

    This is wobbling to market. Crime analysis tools: prototypes built on open data. The "strive" was for great presentation fast, slicing a lot of data in many useful ways. I started with SVG - and still use it for conventional charts. A lot of the data is presented on a map. In January, I elected to dispense with Google Maps and put the whole thing on a Babylon Canvas. I already felt late so it has been an intense period. Images are below and you can use it at https://sanfrancisco.ca.illuminated.city, https://chicago.il.illuminated.city and https://boston.ma.illuminated.city. The 3d part is called "geo-location". (You may need to sit and the landing page for a few counts before trying to navigate.) Thank you all for making Babylon. It has changed my life. Also, a shout out to JohnK for suggesting SPS, which have served me well. Comments, suggestions, conversation all welcome. Notes: ~ I applied scene.pick to allow the user to enumerate details of crimes in a specific area. ~ Chicago is mammoth, with about 400K crime records and a bazillion hexagons, but it still works Image 1: Assault and Battery in San Francisco for the past three years. Image 2: Theft from motor vehicle. Color indicates increase/decrease; elevation indicates current level
  22. 8 points
    Samuel Girardin

    Energy.js on github

    Hello, Energy.js is now on github : https://github.com/samuelgirardin/Energy.js sam
  23. 8 points

    Local cubemaps

    You cried for it so we did it Don't know why you may need local cubemaps? https://community.arm.com/graphics/b/blog/posts/reflections-based-on-local-cubemaps-in-unity Doc:http://doc.babylonjs.com/how_to/reflect#using-local-cubemap-mode Demo: https://www.babylonjs-playground.com/#RNASML#4
  24. 8 points

    360 photo viewer

    Hello guys. I wish you a happy new year!...and the force be with you And let me introduce you my last demo: https://www.smarteam3d.com/portfolio/photo_viewer.html Stay tune! I'll come back with a new demo soon
  25. 8 points
    Hello dear community, I have just pushed a new version of Babylon to NPM. 3.2.0-alpha2 has a bit of changed package structure, which is, in general, transparent to the regular user. You will still be able to do the following: import * as BABYLON from "babylonjs"; What's new and exciting about this release are the extra modules that were added to this package. Babylon's npm package now contains commonjs and es6-ready modules, including typescript typings (for the commonjs modules). With the updated package you could do the following in TypeScript (and JavaScript): import { AbstractMesh, Scene, Vector3, Engine, Mesh } from "babylonjs/core"; import { ArcRotateCamera } from "babylonjs/arcRotateCamera"; import { HemisphericLight } from "babylonjs/hemisphericLight"; import { MeshBuilder } from "babylonjs/meshBuilder"; var canvas: any = document.getElementById("renderCanvas"); var engine: Engine = new Engine(canvas, true); function createScene(): Scene { var scene: Scene = new Scene(engine); var camera: ArcRotateCamera = new ArcRotateCamera("Camera", Math.PI / 2, Math.PI / 2, 2, Vector3.Zero(), scene); camera.attachControl(canvas, true); var light1: HemisphericLight = new HemisphericLight("light1", new Vector3(1, 1, 0), scene); var sphere: Mesh = MeshBuilder.CreateSphere("sphere", { diameter: 1 }, scene); return scene; } var scene: Scene = createScene(); engine.runRenderLoop(() => { scene.render(); }); window.addEventListener("resize", () => { engine.resize(); }); This will be using the commonjs modules available in the babylonjs package. The file generated (using webpack) will be roughly 2.2 MB unminified (which is an improvement to the 4+MB unminified Babylon file). To use es6, simple add /es6 after the module name. for example: import { AbstractMesh, Scene, Vector3, Engine, Mesh } from "babylonjs/core/es6"; I have worked a lot to make it work correctly. But there are (probably) many things I did catch. Please: Be patient! it was just released, there might be a few bugs. Use it, abuse it, make it fail, and let me know when it did! I want to fix all bugs until 3.2 is officially released I will write a detailed documentation page about how to use it. For a list of modules, you can refer to config.json in our Gulp directory (until I finish the docs) : https://github.com/BabylonJS/Babylon.js/blob/master/Tools/Gulp/config.json#L21 . Add "core", being the most important package there is. Enjoy!