LoginSignup
0
0

More than 5 years have passed since last update.

three.jsでmtlloaderをhack

Last updated at Posted at 2016-12-28

概要

three.jsでobjのmtlを差し替える。
objとmtlは、suketchupで、書き出してる。

写真

環境

three.js r83

調査

print_rでobjのプロパティ探したが、マテリアル見つからない。
mtlで見つかったので、いじる。

調査の実際

仕掛け

mtlloaderで読み込んで、preloadしたら、materialsを書き換える。

hackの実際

0
0
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
0
0