1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【React】three.jsをreactで使ってみる(react-three-fiber)

Last updated at Posted at 2021-11-10

はじめに

これはメモである。

概要

three.jsのReact用ライブラリである「react-three-fiber」を使って
Reactで3Dオブジェクトを表示する。

とりあえずそのために調査をしたこと、キーワードを忘れないように並べておく
※細かい編集はあとでやる。

環境

  • codesandboxで作ったReact/TypeScript環境

現在までに登場しているライブラリ

  • three
  • react-three-fiber
  • react-three-drei

※ここからは、別で調べて使おうとしているライブラリ

  • react-progressbar-semicircle(円形ゲージ)
  • recharts (グラフ)
  • leader-line-new, react-leader-line(要素同士を線でつないでアニメーション付ける)

検証したこと

  • オブジェクトを作って表示
  • カメラやオブジェクトの位置や角度の変更
  • 3Dモデルを自分で作る(YouTubeで説明見ながらBlenderで作成)
  • 3Dモデルを読み込んで表示
  • 3Dモデルの色変更、透過変更、質感変更

スクリーンショット 2021-11-10 19.17.05.png
スクリーンショット 2021-11-10 19.17.18.png
スクリーンショット 2021-11-10 19.17.29.png

最後に

まだ編集中です。
完成までしばしお待ちを。
こういうのは、投稿することに意味があると思うのでとりあえず公開!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?