regarding .PLY , .STY , .OBJ file extensions

7 ビュー (過去 30 日間)
ramakrishna bathini
ramakrishna bathini 2011 年 2 月 14 日
does anybody know how to read in the .PLY,.STY,.OBJ extension files in matlab..any info would be very helpful..
  3 件のコメント
ramakrishna bathini
ramakrishna bathini 2011 年 2 月 14 日
its .STY file type
Walter Roberson
Walter Roberson 2011 年 2 月 15 日
I'm having trouble finding anything for .STY except for use as LaTex Style files ?

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

採用された回答

Walter Roberson
Walter Roberson 2011 年 2 月 15 日
If I can convince you that you did mean .STL after all, then there is a script to read such files in binary or ascii format, here
There is a library available for reading and writing PLY files in Matlab, here
  1 件のコメント
ramakrishna bathini
ramakrishna bathini 2011 年 2 月 15 日
the link was awesome...the program Ply_to_tri_mesh did half the job....now i am left with hardest thing i think the unwrapping of the cylindrical 3d object onto the 2D plane

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

その他の回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 2 月 14 日
A description of Lightwave's .OBJ format can be found here
It supports aspects such as vertex shading and vertex normals, not just pure geometry, so a full implementation might take effort.
I seem to recall I was a little confused over the face / vertex representation when I read the documentation before.
  2 件のコメント
ramakrishna bathini
ramakrishna bathini 2011 年 2 月 14 日
thank you for the .obj format info..it was very useful indeed...
Walter Roberson
Walter Roberson 2011 年 2 月 15 日
.ply file format is describe at
http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/

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


Glenn
Glenn 2011 年 9 月 22 日
Is it possible to export x, y, z, R, G, B data to a .ply file in matlab. If so how can I go about doing this. There doesn't seem to be the function within matlab. I have imported a .ply file using importdata which has been fine. Is it now possible to analyse that data to extract certain points and then place those points in their own ply file so that I can view it in MeshLab?? Any help would be most appreciated cheers, Glenn
  1 件のコメント
Walter Roberson
Walter Roberson 2011 年 9 月 22 日
I'm not sure. Possibly using the ply_write.m routine from the library mentioned above. Direct link to it is http://people.sc.fsu.edu/~jburkardt/m_src/ply_io/ply_write.m

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

カテゴリ

Help Center および File ExchangeOther Formats についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by