Exporting 3D data to VRML or X3D

2 ビュー (過去 30 日間)
Johan
Johan 2015 年 7 月 8 日
回答済み: Gautam 2025 年 2 月 11 日
I can't seem to find anything on how to export 3D data in MATLAB to VRML or X3D file formats. Some posts mentioned using the vrml function, but my matlab says "vrml not found." I have both a 3 column, m*n row list of x,y,z coordinates and a mxn matrix of the z values. I'm able to save the data to a .stl file using these variables, but .stl doesn't include color info. My goal is to save this 3D data to a file that includes color info for each vertex or face, or a way to save a UV texture map so that I can print the model using Shapeways in color.
  1 件のコメント
Vasool Tandav
Vasool Tandav 2021 年 11 月 5 日
Not an answer , js comments:
1] If we can convert the 3D data to a plot3D then we have utilities in the File Exchange to convert to X3D.
2] Entire CAD models can bw imported via SIMSCAPE MULTIBODY TOOLBOX ; then converted to plot3D.
3] We want to see improvements in VR with the change in tooling from 3DAnimation to x3D.

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

回答 (1 件)

Gautam
Gautam 2025 年 2 月 11 日
The 'vrml' function was removed in R2014a. To use the function now, you must download it from FileExchange here:
Note that MathWorks does not guarantee or warrant the use or content of these third-party submissions.

カテゴリ

Help Center および File ExchangeModel Import についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by