強火で進め

このブログではプログラム関連の記事を中心に書いてます。

Obj(Wavefront)ファイルのローダ


Webをうろうろしてたら以下の2つのサイトで3Dモデルデータのロードを行うサンプルを見つけました。

PrEV | Wave Front OBJ - textures working
http://bill.dudney.net/roller/objc/entry/wave_front_obj_textures_working

iPhone Development: Wavefront OBJ Loader - Another Update
http://iphonedevelopment.blogspot.com/2008/12/wavefront-obj-loader-another-update.html

対応するファイルはメジャーな3DモデルファイルであるObj(Wavefront)です。
iPhoneで稼働するサンプル付属でテクスチャもちゃんと読み込みます。