万本电子书0元读

万本电子书0元读

顶部广告

Babylon.js Essentials电子书

售       价:¥

81人正在读 | 0人评论 6.2

作       者:Julien Moreau-Mathis

出  版  社:Packt Publishing

出版时间:2016-03-04

字       数:67.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Understand, train, and be ready to develop 3D Web applications/video games using the Babylon.js framework, even for beginners About This Book Understand the basics of 3D (along with the theory) before practicing Each mini-project provides previous features, alongside the new feature you are learning, to supply the examples Learn from the best of the best, a developer at Microsoft, France Who This Book Is For Babylon.JS Essentials is intended for developers who want to enter the world of 3D development for the Web, or developers who want to add the Babylon.js framework to their skill set. The notion of Oriented Object Programming would be helpful to understand the architecture of the Babylon.js framework. Also, a familiarity with Web development would be useful, to understand the principles used. What You Will Learn Understand what the TypeScript language is and its benefits (compared to JavaScript) in large projects such as 3D engines Learn the basics of 3D using Babylon.js without too much theory but with an emphasis on practice, for a better understanding of the architecture Know the usage of Material—a fundamental principle of 3D engines in Babylon.js—and then customize the appearance of 3D objects Integrate collisions and physics in gameplay. Understand the notion of impostor for physics simulation Manage, create, and spatialize audio tracks in 3D scenes Go further with the Babylon.js framework to create actions on events Create rendering effects provided by the Babylon.js framework, such as post-processes In Detail Are you familiar with HTML5Do you want to build exciting games and Web applicationsThen explore the exciting world of game and Web development with one of the best frameworks out there: Babylon.JS. Starting from the beginning, the book introduces the required basics for 3D development and the knowledge you need to use the Babylon.js framework. It focuses on the simplicity provided by Babylon.js and uses a combination of theory and practice. All the chapters are provided with example files ready to run; each example file provides the previously learned features of the framework. Finally, developers will be ready to easily understand new features added to the framework in the future. Style and approach The book is a comprehensive guide packed with ready-to-run examples with a mix of theory and practice.
目录展开

Babylon.js Essentials

Babylon.js Essentials

Credits

About the Author

About the Reviewer

www.PacktPub.com

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Babylon.js and the TypeScript Language

The creators

Online tools provided by the Babylon.js solution

Why is Babylon.js developed using TypeScript?

The TypeScript language

The TypeScript features

Introduction to TypeScript - what you have to know

Compilation using Gulp

Working with typed variables

Enumerated types

Array

Working with classes and interfaces

Creating a class

Creating class members

Working with inheritance

Using interfaces

Summary

2. The Fundamentals of Babylon.js and Available Tools

The Babylon.js structure and graphs

The engine and a scene

Adding cameras and lights

Adding a camera

Adding a light

Adding a mesh

Using Babylon.js to create meshes

Some other basic meshes

Managing a scene graph

An example

Creating your first scene

Creating a class and the scene nodes

Call the runRenderLoop method

Managing the scene graph

Summary

3. Create, Load, and Draw 3D Objects on the Screen

Using Blender to export scenes

Setting up the Babylon.js exporter for Blender

Activating the Babylon.js exporter in Blender

Exporting a scene

Using 3ds Max to export scenes

Installing the Babylon.js exporter for 3ds Max

Modifying the properties

Exporting the scenes

Loading scenes with Babylon.js programmatically

The BABYLON.SceneLoader class

The callbacks

Load and append

Importing a mesh

Summary

4. Using Materials to Customize 3D Objects Appearance

Discussing the awesome theory behind the materials

The theory

The vertex shader

The pixel shader

Using the Babylon.js standard material

The standard material and its common properties

Using the fog

Using textures with materials

Load and apply a texture

The bump mapping

Advanced texturing

The cube texture

The mirror texture

Summary

5. Create Collisions on Objects

Checking collisions in a scene

How collisions work in Babylon.js?

Configuring collisions in a scene

Configure gravity and ellipsoid

Simulate physics

Enable physics in Babylon.js

Impostors

Applying a force to a mesh

Configuring in Blender and 3ds Max

Collisions in Blender

Configuring physics simulations in Blender

Configuring collisions in 3ds Max

Configuring physics simulations in 3ds Max

Summary

6. Manage Audio in Babylon.js

Playing 2D sounds

Creating 2D sounds

Managing 2D sounds

Playing 3D sounds

Creating 3D sounds

Managing 3D sounds

Creating a directional spatialized sound

Summary

7. Defining Actions on Objects

Defining actions on objects

Enable actions on an object

Chain actions on an object

The available actions

Using conditions to control the actions graphs

State condition

Predicate condition

Value condition

Using the Actions Builder in 3ds Max

How it works

Managing multiple pipelines

Summary

8. Add Rendering Effects Using Built-in Post-processes

Using post-processes with Babylon.js

Starting with your first post-process

Chaining post-processes

Removing and retrieving post-processes

Using post-process rendering pipelines with Babylon.js

Create a rendering pipeline

Enabling and disabling effects in pipeline

The built-in post-processes

Volumetric Light Scattering post-process

SSAO rendering pipeline

HDR rendering pipeline

Summary

9. Create and Play Animations

Creating animations using Babylon.js

Animating an object with code

Using the animation manager of Babylon.js

Create a simple animation

Managing events

Using easing functions to smooth animations

Applying an easing function to an animation

Creating your own easing function

Importing and managing animated models

How 3D animated models work

Importing and playing animations of an animated 3D model

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部