相关资源

以下是一些在学习 three.js 时可能对你有用的链接合集。
如果你想在此添加内容,或者认为以下某个链接已经过时或失效,请点击右下角的"编辑"按钮进行修改!

另外请注意,由于 three.js 处于快速开发中,其中许多链接可能包含过时的信息——如果某些内容未按预期工作,或与这些链接中描述的不一致,请检查浏览器控制台中的警告或错误,同时查阅相关文档页面。

帮助论坛

Three.js 官方使用[link:https://discourse.threejs.org/ 论坛]和 [link:http://stackoverflow.com/tags/three.js/info Stack Overflow] 来处理帮助请求。如果你需要帮助,请前往这些平台。请不要在 GitHub 上提交 issue 来寻求帮助。

教程与课程

three.js 入门

  • [link:https://threejs.org/manual/#en/fundamentals Three.js 基础入门课程]
  • [link:https://codepen.io/rachsmith/post/beginning-with-3d-webgl-pt-1-the-scene Beginning with 3D WebGL],作者 [link:https://codepen.io/rachsmith/ Rachel Smith]。
  • [link:https://www.august.com.au/blog/animating-scenes-with-webgl-three-js/ Animating scenes with WebGL and three.js]

更深入/进阶的文章与课程

  • [link:https://threejs-journey.com/ Three Journey] 课程,作者 [link:https://bruno-simon.com/ Bruno Simon] - 手把手教初学者使用 Three.js
  • [link:https://discoverthreejs.com/ Discover three.js]
  • [link:http://blog.cjgammon.com/ 系列教程],作者 [link:http://www.cjgammon.com/ CJ Gammon]。
  • [link:https://medium.com/soffritti.pierfrancesco/glossy-spheres-in-three-js-bfd2785d4857 Glossy spheres in three.js]。
  • [link:https://www.udacity.com/course/interactive-3d-graphics--cs291 Interactive 3D Graphics] - Udacity 上的免费课程,讲授 3D 图形学基础,使用 three.js 作为编程工具。
  • [Link:https://aerotwist.com/tutorials/ Aerotwist] 教程,作者 [link:https://github.com/paullewis/ Paul Lewis]。
  • [link:https://discourse.threejs.org/t/three-js-bookshelf/2468 Three.js 书架] - 想找更多关于 three.js 或计算机图形学的资源?来看看社区推荐的书单吧。

新闻与动态

  • [link:https://twitter.com/hashtag/threejs Three.js on Twitter]
  • [link:http://www.reddit.com/r/threejs/ Three.js on reddit]
  • [link:http://www.reddit.com/r/webgl/ WebGL on reddit]

示例

  • [link:https://github.com/edwinwebb/three-seed/ three-seed] - 使用 ES6 和 Webpack 的 three.js 起步项目
  • [link:http://stemkoski.github.io/Three.js/index.html Professor Stemkoski 的示例] - 使用 three.js r60 构建的适合初学者的示例合集。
  • [link:https://threejs.org/examples/ three.js 官方示例] - 这些示例作为 three.js 仓库的一部分维护,始终使用最新版本的 three.js。
  • [link:https://raw.githack.com/mrdoob/three.js/dev/examples/ three.js 官方开发分支示例] - 与上面相同,但使用的是 three.js 的开发分支,用于在开发过程中检查一切是否正常工作。

工具

  • [link:https://github.com/tbensky/physgl physgl.org] - 基于 three.js 封装的 JavaScript 前端,为学习物理和数学的学生提供 WebGL 图形支持。
  • [link:https://whsjs.readme.io/ Whitestorm.js] – 模块化的 three.js 框架,带有 AmmoNext 物理插件。
  • [link:http://zz85.github.io/zz85-bookmarklets/threelabs.html Three.js Inspector]
  • [link:http://idflood.github.io/ThreeNodes.js/ ThreeNodes.js]。
  • [link:https://marketplace.visualstudio.com/items?itemName=slevesque.shader vscode shader] - 着色器语言语法高亮。
    [link:https://marketplace.visualstudio.com/items?itemName=bierner.comment-tagged-templates vscode comment-tagged-templates] - 使用注释为标签模板字符串提供着色器语言语法高亮,如 glsl.js。
  • [link:https://github.com/MozillaReality/WebXR-emulator-extension WebXR-emulator-extension]

WebGL 参考

  • [link:https://www.khronos.org/files/webgl/webgl-reference-card-1_0.pdf webgl-reference-card.pdf] - 包含所有 WebGL 和 GLSL 关键字、术语、语法和定义的参考卡片。

旧链接

这些链接出于历史原因保留——你可能仍然会觉得它们有用,但请注意其中的信息可能涉及非常旧的 three.js 版本。

  • [link:https://www.youtube.com/watch?v=Dir4KO9RdhM AlterQualia at WebGL Camp 3]
  • [link:http://yomotsu.github.io/threejs-examples/ Yomotsu 的示例] - 使用 three.js r45 的示例合集。
  • [link:http://fhtr.org/BasicsOfThreeJS/#1 Introduction to Three.js],作者 [link:http://github.com/kig/ Ilmari Heikkinen](幻灯片)。
  • [link:http://www.slideshare.net/yomotsu/webgl-and-threejs WebGL and Three.js],作者 [link:http://github.com/yomotsu Akihiro Oyamada](幻灯片)。
  • [link:https://www.youtube.com/watch?v=VdQnOaolrPA Trigger Rally],作者 [link:https://github.com/jareiko jareiko](视频)。
  • [link:http://blackjk3.github.io/threefab/ ThreeFab] - 场景编辑器,维护至 three.js r50 左右。
  • [link:http://bkcore.com/blog/3d/webgl-three-js-workflow-tips.html Max to Three.js workflow tips and tricks],作者 [link:https://github.com/BKcore BKcore]
  • [link:http://12devsofxmas.co.uk/2012/01/webgl-and-three-js/ A whirlwind look at Three.js],作者 [link:http://github.com/nrocy Paul King]
  • [link:http://bkcore.com/blog/3d/webgl-three-js-animated-selective-glow.html Animated selective glow in Three.js],作者 [link:https://github.com/BKcore BKcore]
  • [link:http://www.natural-science.or.jp/article/20120220155529.php Building A Physics Simulation Environment] - 日语 three.js 教程