Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn Three.js - Fourth Edition
Learn Three.js - Fourth Edition

Learn Three.js: Program 3D animations and visualizations for the web with JavaScript and WebGL, Fourth Edition

By Jos Dirksen
$39.99 $27.98
Book Feb 2023 554 pages 4th Edition
eBook
$39.99 $27.98
Print
$49.99
Subscription
$15.99 Monthly
eBook
$39.99 $27.98
Print
$49.99
Subscription
$15.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon AI Assistant (beta) to help accelerate your learning
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now
Table of content icon View table of contents Preview book icon Preview Book

Learn Three.js - Fourth Edition

Part 1: Getting Up and Running

In the first part, we’ll introduce the basic concepts of Three.js and make sure you’ve got all the information to get up and running. We’ll start by setting up your development environment, and in the following chapters, explore some of the core concepts that make up Three.js.

In this part, there are the following chapters:

  • Chapter 1, Creating Your First 3D Scene with Three.js
  • Chapter 2, The Basic Components that Make up a Three.js Application
  • Chapter 3, Working with Light Sources in Three.js
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Enhance your 3D graphics with light sources, shadows, advanced materials, and textures
  • Load models from external sources, visualize and, animate them directly using JavaScript
  • Create your own custom WebGL shader, explore Three.js' postprocessing feature, and learn how to integrate with Blender, React, and Typescript

Description

Three.js has become the industry standard for creating stunning 3D WebGL content. In this edition, you’ll learn about all the features of Three.js and understand how to integrate it with the newest physics engines. You'll also develop a strong grip on creating and animating immersive 3D scenes directly in your browser, reaping the full potential of WebGL and modern browsers. The book starts with the basic concepts and building blocks used in Three.js and helps you explore these essential topics in detail through extensive examples and code samples. You'll learn how to create realistic-looking 3D objects using textures and materials and how to load existing models from an external source. Next, you'll understand how to control the camera using the Three.js built-in camera controls, which will enable you to fly or walk around the 3D scene you've created. Later chapters will cover the use of HTML5 video and canvas elements as materials for your 3D objects to animate your models. You’ll learn how to use morph targets and skeleton-based animation, before understanding how to add physics, such as gravity and collision detection, to your scene. Finally, you’ll master combining Blender with Three.js and creating VR and AR scenes. By the end of this book, you'll be well-equipped to create 3D-animated graphics using Three.js.

What you will learn

Implement the different camera controls provided by Three.js to navigate your 3D scene Discover working with vertices directly to create snow, rain, and galaxy-like effects Import and animate models from external formats, such as glTF, OBJ, STL, and COLLADA Design and run animations using morph targets and bone-based animation Create realistic-looking 3D objects using advanced textures on materials Interact directly with WebGL by creating custom vertex and fragment shaders Make scenes using the Rapier physics engine, and integrate Three.js with VR and AR

Product Details

Country selected

Publication date : Feb 17, 2023
Length 554 pages
Edition : 4th Edition
Language : English
ISBN-13 : 9781803233871
Category :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon AI Assistant (beta) to help accelerate your learning
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Feb 17, 2023
Length 554 pages
Edition : 4th Edition
Language : English
ISBN-13 : 9781803233871
Category :

Table of Contents

21 Chapters
Preface Chevron down icon Chevron up icon
1. Part 1: Getting Up and Running Chevron down icon Chevron up icon
2. Chapter 1: Creating Your First 3D Scene with Three.js Chevron down icon Chevron up icon
3. Chapter 2: The Basic Components that Make up a Three.js Application Chevron down icon Chevron up icon
4. Chapter 3: Working with Light Sources in Three.js Chevron down icon Chevron up icon
5. Part 2: Working with the Three.js Core Components Chevron down icon Chevron up icon
6. Chapter 4: Working with Three.js Materials Chevron down icon Chevron up icon
7. Chapter 5: Learning to Work with Geometries Chevron down icon Chevron up icon
8. Chapter 6: Exploring Advanced Geometries Chevron down icon Chevron up icon
9. Chapter 7: Points and Sprites Chevron down icon Chevron up icon
10. Part 3: Particle Clouds, Loading and Animating Models Chevron down icon Chevron up icon
11. Chapter 8: Creating and Loading Advanced Meshes and Geometries Chevron down icon Chevron up icon
12. Chapter 9: Animation and Moving the Camera Chevron down icon Chevron up icon
13. Chapter 10: Loading and Working with Textures Chevron down icon Chevron up icon
14. Part 4: Post-Processing, Physics, and Sounds Chevron down icon Chevron up icon
15. Chapter 11: Render Postprocessing Chevron down icon Chevron up icon
16. Chapter 12: Adding Physics and Sounds to Your Scene Chevron down icon Chevron up icon
17. Chapter 13: Working with Blender and Three.js Chevron down icon Chevron up icon
18. Chapter 14: Three.js Together with React, TypeScript, and Web-XR Chevron down icon Chevron up icon
19. Index Chevron down icon Chevron up icon
20. Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Top Reviews
No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.