Going the Distance with Babylon.js: Building extensible, maintainable, and attractive browser-based interactive applications using JavaScript (Paperback)

Elster, Josh

  • 出版商: Packt Publishing
  • 出版日期: 2022-09-16
  • 售價: $1,600
  • 貴賓價: 9.5$1,520
  • 語言: 英文
  • 頁數: 426
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1801076588
  • ISBN-13: 9781801076586
  • 相關分類: JavaScript
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Learn to effortlessly leverage the power of the GPU in a 3D game or application using Babylon.js v5.0 from start to finish

 

Key Features:

  • Explore browser-based, editable, interactive Playground samples
  • Create GPU-based resources using the Node Material Editor - no shader code required
  • Extended topics in each chapter as well as a dedicated chapter that helps you explore and contribute back to OSS projects

 

Book Description:

Babylon.js allows anyone to effortlessly create and render 3D content in a web browser using the power of WebGL and JavaScript. 3D games and apps accessible via the web open numerous opportunities for both entertainment and profit. Developers working with Babylon.js will be able to put their knowledge to work with this guide to building a fully featured 3D game.

The book provides a hands-on approach to implementation and associated methodologies that will have you up and running, and productive in no time. Complete with step-by-step explanations of essential concepts, practical examples, and links to fully working self-contained code snippets, you'll start by learning about Babylon.js and the finished Space-Truckers game. You'll also explore the development workflows involved in making the game. Focusing on a wide range of features in Babylon.js, you'll iteratively add pieces of functionality and assets to the application being built. Once you've built out the basic game mechanics, you'll learn how to bring the Space-Truckers environment to life with cut scenes, particle systems, animations, shadows, PBR materials, and more.

By the end of this book, you'll have learned how to structure your code, organize your workflow processes, and continuously deploy to a static website/PWA a game limited only by bandwidth and your imagination.

 

What You Will Learn:

  • Use Babylon.js v5.0 to build an extensible open-source 3D game accessible with a web browser
  • Design and integrate compelling and performant 3D interactive scenes with a web-based application
  • Write WebGL/WebGPU shader code using the Node Material Editor
  • Separate code concerns to make the best use of the available resources
  • Use the Babylon.js Playground to tightly iterate application implementation
  • Convert a web application into a Progressive Web Application (PWA)
  • Create rich, native-ready graphical user interfaces (GUIs) using the GUI Editor

 

Who this book is for:

This book on 3D programming in JavaScript is for those who have some familiarity with JavaScript programming and/or 3D game engine development and are looking to learn how to incorporate beautiful interactive 3D scenes into their work. Developers familiar with Unity, Unreal Engine, or three.js will also find this book to be a key resource for learning the ins and outs of Babylon.js.

商品描述(中文翻譯)

學習輕鬆運用Babylon.js v5.0在3D遊戲或應用程式中發揮GPU的威力,從頭到尾完成。

關鍵特點:

- 探索基於瀏覽器的可編輯、互動的Playground範例
- 使用Node Material Editor創建基於GPU的資源,無需編寫著色器代碼
- 每章擴展主題以及專門的章節,幫助您探索並貢獻給OSS項目

書籍描述:

Babylon.js允許任何人使用WebGL和JavaScript在Web瀏覽器中輕鬆創建和渲染3D內容。通過Web訪問的3D遊戲和應用程式為娛樂和利潤帶來了眾多機會。使用Babylon.js的開發人員將能夠通過本指南建立一個功能完整的3D遊戲。

本書提供了一種實踐方法,以及相關方法論,讓您能夠立即上手並提高生產力。書中逐步解釋了基本概念,提供實際示例和鏈接到完整工作的自包含代碼片段,您將首先了解Babylon.js和完成的Space-Truckers遊戲。您還將探索製作遊戲所涉及的開發工作流程。專注於Babylon.js的各種功能,您將逐步向應用程式添加功能和資源。一旦您構建了基本的遊戲機制,您將學習如何通過剪輯場景、粒子系統、動畫、陰影、PBR材質等使Space-Truckers環境栩栩如生。

通過閱讀本書,您將學會如何結構化代碼、組織工作流程,並持續部署到靜態網站/PWA,只受帶寬和想像力的限制,創建一個遊戲。

學到什麼:

- 使用Babylon.js v5.0構建可通過Web瀏覽器訪問的可擴展開源3D遊戲
- 設計並整合引人入勝且性能出色的3D互動場景到基於Web的應用程式中
- 使用Node Material Editor編寫WebGL/WebGPU著色器代碼
- 分離代碼關注點,充分利用可用資源
- 使用Babylon.js Playground緊密迭代應用程式實現
- 將Web應用程式轉換為漸進式Web應用程式(PWA)
- 使用GUI Editor創建豐富的原生就緒圖形用戶界面(GUI)

適合對象:

本書針對具有一定JavaScript編程和/或3D遊戲引擎開發經驗的人,並希望學習如何將美麗的互動3D場景融入他們的工作中。熟悉Unity、Unreal Engine或three.js的開發人員也會發現本書是學習Babylon.js的重要資源。