Dec 23, 2008

MQO Importer.js

Metasequoia のシーンファイルを読み込むスクリプトを作ってみた。

スクリプトの仕様で、マテリアルのオブジェクトへの割当は手動なのでちょっと面倒です (Foot in mouth)

メタセコのファイルフォーマットと Cheetah3D は相性が良いようで、結構すんなり書けたんですが、テストが充分でないのでいろいろ不具合はあるかも。 (Tongue)


デモ動画

ローポリ本のモデルを読み込んで、Cheetah3D でレンダリングしてみた。

2 Comments

Re: MQO Importer.js

hi, i was trying to use your importer as a template to write my custom data loader, but I am stuck somewhere, the cheetah gives me an error for the line "line.split" and complain that line.split isn't a function.

Please help.

From : Fang Jin @ 2009-06-19 09:20:14 Edit

Re: MQO Importer.js

Hi, thank you for checking my script. could you send me your script? try to check 'line' variable before executing .split() function in your code. I am guessing variable 'line' is not a String at that error point, maybe EOF (end of file)?

regards.

tg

From : tg @ 2009-06-19 19:39:01 Edit

Post Your Comment


(Smile) (Wink) (Laugh) (Foot in mouth) (Frown) (Gasp) (Cool) (Tongue) (Ambivalent) (Angry) (Cry) (Sealed) (Touched) (Undecided) (Yum)

You must fill all *s. e-mail won't be publicized.