Three.js Cookbook

Jos Dirksen

  • 出版商: Packt Publishing
  • 出版日期: 2015-01-31
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1783981180
  • ISBN-13: 9781783981182
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Over 80 shortcuts, solutions, and recipes that allow you to create the most stunning visualizations and 3D scenes using the Three.js library

About This Book

  • Create visually stunning 3D graphics and animations directly in your browser, without the need for any plugins or needing to learn WebGL
  • Add zest and beauty to your 3D scenes by using advanced materials, textures, and different light sources as part of these comprehensive and applicable recipes
  • Learn how to use third-party libraries for advanced animation control and simulating real world physics

Who This Book Is For

This book is ideal for anyone who already knows JavaScript and would like to get a broad understanding of Three.js quickly, or for those of you who have a basic grasp of using Three.js but want to really make an impact with your 3D visualizations by learning its advanced features. To apply the recipes in this book you don't need to know anything about WebGL; all you need is some general knowledge about JavaScript and HTML.

What You Will Learn

  • Create a standard HTML skeleton and advanced features such as keyboard controls, drag and drop support, WebGL detection, and loading resources
  • Build and transform Three.js geometries using simple properties and advanced matrix transformations
  • Enhance the look of your scene using Three.js materials, texture maps, and dynamic textures
  • Apply realistic lighting and shadows to the 3D objects you have created
  • Animate particle systems created from scratch or from existing geometries
  • Work with animations, advanced physics, and collision detection

In Detail

Modern browsers are becoming more powerful each year and in recent years have adopted WebGL as the standard to deliver 3D graphics in a browser. Beginning with some basic recipes to get you started, this book will guide you through the most important features that Three.js has to offer. You'll even learn how to quickly create new geometries from scratch. Solutions and methods that show you how to use HTML5 video and canvas as textures will follow on from this.

By the end of the book, you'll be able to quickly add advanced features to your scene, improve the way users interact with your 3D scene, and make your scenes look stunning.

商品描述(中文翻譯)

超過80個快捷鍵、解決方案和配方,讓您使用Three.js庫創建最令人驚嘆的可視化和3D場景。

關於本書
- 在瀏覽器中直接創建視覺上令人驚嘆的3D圖形和動畫,無需任何插件或學習WebGL。
- 通過使用高級材料、紋理和不同的光源作為全面且實用的配方的一部分,為您的3D場景增添活力和美感。
- 學習如何使用第三方庫進行高級動畫控制和模擬現實世界物理。

適合閱讀對象
本書適合已經熟悉JavaScript並希望快速了解Three.js的人,或者對使用Three.js有基本了解但希望通過學習其高級功能來真正提升3D可視化效果的人。要應用本書中的配方,您不需要了解WebGL,只需要對JavaScript和HTML有一些基本知識。

您將學到什麼
- 創建標準的HTML框架和高級功能,如鍵盤控制、拖放支持、WebGL檢測和資源加載。
- 使用簡單的屬性和高級矩陣變換來構建和變換Three.js幾何體。
- 通過使用Three.js材料、紋理映射和動態紋理來增強場景的外觀。
- 對您創建的3D物體應用逼真的照明和陰影。
- 從頭開始創建粒子系統或使用現有幾何體創建粒子系統。
- 使用動畫、高級物理和碰撞檢測進行工作。

詳細內容
現代瀏覽器每年都在變得更加強大,近年來已將WebGL作為在瀏覽器中提供3D圖形的標準。從一些基本的配方開始,本書將引導您了解Three.js最重要的功能。您甚至將學習如何快速從頭開始創建新的幾何體。接下來,將介紹使用HTML5視頻和畫布作為紋理的解決方案和方法。

通過閱讀本書,您將能夠快速為場景添加高級功能,改善用戶與您的3D場景的互動方式,並使您的場景看起來令人驚嘆。