How to edit a VRML file in matlab ?

Hello,
I am working on the project of constructing a 3d shape of the object from the image silhouette of the object. Basically my project is based on the Shape from Silhouette (SFS) method. For that I have downloaded some files. Some of those are containing matlab code. But I also found some VRML models. I am using cortona3d a VRML viewer. But when I try to edit the model in matlab simulink 3d world editor it gives me error message 'Error reading VRML file'.
I am quite beginner to matlab so help me out with this problem.
Sam

 採用された回答

Jan Houska
Jan Houska 2013 年 11 月 14 日

0 投票

This would indicate that the VRML file is invalid, unuspported format, or different version. Because Cortona is able to read the file, probably it's valid but a different format or version. Please inspect the VRML file in a plain text editor (e.g. the MATLAB Editor). It should start like this:
#VRML V2.0 utf8
If it doesn't, the file is not VRLM97 and cannot be used without being converted to VRML97 first. Several tools, like e.g. the included V-Realm editor, can be used to do the conversion.

1 件のコメント

Sam
Sam 2013 年 12 月 16 日
Thanks you sir for your rely on my question.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulation についてさらに検索

質問済み:

Sam
2013 年 11 月 12 日

コメント済み:

Sam
2013 年 12 月 16 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by