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 CenterFile Exchange 中查找有关 Model Import 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by