Babylon.js 3.0 announced

New version of JavaScript framework provides new interesting features
14 July 2017   2245

Lightweight interpreted or JIT-compiled programming language with first-class functions

According to the Windows Developer Blog, the 3.0 version of Babylon.js, an open-source, complete JavaScript framework for building 3D games with HTML5, WebGL, WebVR and Web Audio, had been recently announed. 

Over 120 external contributors took part in the developing of this framework. 

So, what are the main features of Babylon 3.0? 

  • Support for WebGL 2

    WebGL 2 allows more control over the GPU. The support for WebGL 2 is completely transparent with Babylon.js 3.0. This means that the engine will automatically use WebGL 2 if available, and it will fall back to WebGL 1 if not. Mode details can be found here.

  • Support for WebVR 1.1

    Babylon.js 3.0 supports all VR devices, including the newest. Babylon.js can also transparently use WebVR 1.0 if your device does not support the latest version of the specification (Gear VR for instance). It also supports using device orientation events to provide virtual reality on mobile.

  • Support for glTF 2.0

    Full support for GL API files is added to new version.

  • Improved physically based rendering (PBR)

    PBRMaterial, that is used for rendering of physically based objects, was completely rewritten. It is now more accurate and better aligned with GLTF2.0 specifications. This material can be used to simulate real life lighting and provide photorealistic scenes.

  • Babylon.GUI

    Babylon.js GUI library extension can be used to generate interactive user interface. It relies on hardware acceleration to produce a fast and light way to deal with user interaction. The Babylon.GUI is helpful with VR scenarios when you cannot display HTML elements. It can also be used to project your UI in 3D.

  • Morph targets

    • Great way to animate objects is to use morphing between different targets. This technique is widely used to animate character heads, for instance. 
  • Support for live textures using WebCam

    • You can now create project webcam content to any textures in your world. This could be used to simulate mixed reality experience or apply some fun effects.

Additionally, developers launched new version of documentation, where coders can find a lot of useful inforamtion.  

Also, a playground is now available too. This is great tool for learning with live code editor.

Visual Studio Code 1.30 Released

The solution has received new features, as well as improved support for JavaScript and TypeScript
14 December 2018   39

Microsoft has released the development environment Visual Studio Code 1.30. The tool has received new features, as well as improved support for JavaScript and TypeScript.

The search tool in the new version of the editor allows you to make multi-line queries. You can add a new line to the query by pressing Shift + Enter or simply by pasting text from the clipboard.

Custom headers and menu items in Linux are now activated by default. Since some menus may go beyond the boundaries of the screen, the developers added the ability to scroll.

Menu items designed to work with the settings have been moved to the title bar of the editor.

In the snippet, new comment variables are implemented, allowing to leave lines or blocks of notes based on the language of the code.

Also, the developers added the Go to Declaration and Peek Declaration commands to Visual Studio Code 1.30 in addition to the existing Go to Definition and Peek Definition. This is due to the fact that in some languages ​​the concepts of definition and declaration are fundamentally different.

In Visual Studio Code 1.30, you can work with TypeScript 3.2.2. Display of callbacks in JavaScript and TypeScript is improved. The new version of the editor displays which function they belong to.

The developers have improved the integration with the repository. In the new version of the program, you can change the tool that opens the file by clicking on the version control panel.

The Visual Studio Code 1.30 error detection and removal tool allows you to delete debug consoles for inactive sessions. Improved concept of variable substitution in launch.json configuration. The initial debug configuration itself has been simplified by hiding minor elements and adding a Quick Pick interface.

You can set the task to run automatically when you open the project folder. In addition, several new tasks have been added to the task management command section, for example, Tasks: Rerun Last Task, which allows you to restart the previous process.