Skip to Content
初めてのThree.js 第2版 ―WebGLのためのJavaScript 3Dライブラリ
book

初めてのThree.js 第2版 ―WebGLのためのJavaScript 3Dライブラリ

by Jos Dirksen, あんどうやすし
July 2016
Intermediate to advanced
416 pages
6h 39m
Japanese
O'Reilly Japan, Inc.
Content preview from 初めてのThree.js 第2版 ―WebGLのためのJavaScript 3Dライブラリ

6章高度なジオメトリとブーリアン演算

前の章ではThree.jsで利用できる基本的なジオメトリをすべて紹介しました。それらの基本的なジオメトリの他にもThree.jsではより高度で特殊なオブジェクトがいくつか利用できます。この章ではそれらの高度なジオメトリについて説明します。この章で説明するのは次のような内容です。

  • THREE.ConvexGeometryTHREE.LatheGeometryTHREE.TubeGeometryなどの高度なジオメトリの使用方法
  • THREE.ExtrudeGeometryを使用して2次元形状から3次元形状を作成する方法。Three.jsの機能を使用して描画した2D形状を使用するだけでなく、外部から読み込まれたSVG画像から3次元形状を作成するサンプルも紹介します。
  • THREE.ParamtericGeometryを使用して独自の形状を作成する方法。これまでの章で説明した形状を変形して独自の形状を実現することもできますが、THREE.ParamtericGeometryを使用すると方程式を組み合わせてジオメトリを作成できます。
  • 最後にTHREE.TextGeometryを使用して3Dのテキストを作成する方法を説明します。
  • さらに補足として、Three.jsの拡張であるThreeBSPのブーリアン演算を使用して既存のジオメトリを組み合わせて新しいジオメトリを作成する方法も紹介します。

それではこのリストの一番上、THREE.ConvexGeometryの説明から始めましょう。

6.1 THREE.ConvexGeometry

THREE.ConvexGeometryを使用すると、一群の座標を含む凸包とつほう(Convex hull)を作成できます。凸包はすべての座標を覆う最小の形状です。サンプルを見てみるとすぐに理解できるはずです。サンプル ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

UX戦略 第2版 ―革新的なプロダクト開発のためのテクニック

UX戦略 第2版 ―革新的なプロダクト開発のためのテクニック

Jaime Levy, 安藤 幸央, 長尾 高弘

Publisher Resources

ISBN: 9784873117706Other