MIT License

项目介绍

PacktPublishing/Learn-Three.js-Fourth-edition 是一个托管在 GitHub 上的开源项目,主要使用 G-code 编写,采用 MIT License 许可证,目前获得 276 个 Star、93 次 Fork。

仓库全名
PacktPublishing/Learn-Three.js-Fourth-edition
开源许可证
MIT License
Star 数
276
Fork 数
93
未关闭 Issue
8

README 摘要

Learn-Three.js-Fourth-edition Learn Three.js, Fourth edition, published by Packt This is the code repository for Learn Three.js, Fourth edition, published by Packt. Program 3D animations and visualizations for the web with JavaScript and WebGL What is this book about? This book is for JavaScript developers looking to learn the use of Three.js library. This book covers the following exciting features: Implement the…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Learn-Three.js-Fourth-edition 用什么语言开发?

主要使用 G-code 编写,采用 MIT License 许可证,目前有 276 个 Star。

Learn-Three.js-Fourth-edition 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Learn-Three.js-Fourth-edition 的源码?

可以直接克隆仓库:git clone https://github.com/PacktPublishing/Learn-Three.js-Fourth-edition.git,默认分支为 main;安装与运行步骤见仓库 README。

Learn-Three.js-Fourth-edition 最近还在维护吗?

仓库最近一次更新为 4月22日,当前有 8 个未关闭 Issue;Star 数为 276,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Learn Three.js, Fourth edition, published by Packt

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
470
价值分
193
活跃状态
活跃
暂无主题

语言占比

CSS
G-code
GLSL
HTML
JavaScript
MAXScript
TypeScript

README

Learn-Three.js-Fourth-edition

Learn Three.js, Fourth edition, published by Packt

Learn Three.js, Fourth edition

This is the code repository for Learn Three.js, Fourth edition, published by Packt.

Program 3D animations and visualizations for the web with JavaScript and WebGL

What is this book about?

This book is for JavaScript developers looking to learn the use of Three.js library.

This book covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

The code will look like the following:

const normalMap = new THREE.TextureLoader().load('/assets/textures/red-bricks/red_bricks_04_nor_gl_1k.jpg',(texture) => {
    texture.wrapS = THREE.RepeatWrapping
    texture.wrapT = THREE.RepeatWrapping
    texture.repeat.set(4, 4)
  }
)

Following is what you need for this book:

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.

With the following software and hardware list you can run all code files present in the book (Chapter 2-9).

Get to Know the Author

Jos Dirksen has worked as a software developer and architect for almost two decades. He has a lot of experience in many technologies, ranging from backend technologies, such as Java and Scala, to frontend development using HTML5, CSS, JavaScript, and Typescript. Besides working with these technologies, Jos regularly speaks at conferences and likes to write about new and interesting technologies on his blog. He also likes to experiment with new technologies and see how they can best be used to create beautiful data visualizations.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781803233871

Errata

  • On page 11: Before running the install commands, make sure to change to the source directory.

  • On page 133: at the bottom of the page, the book mentions vertextShader, this should be vertexShader

评论

暂无评论