Exporting 3D data to VRML or X3D

7 vues (au cours des 30 derniers jours)
Johan
Johan le 8 Juil 2015
Réponse apportée : Gautam le 11 Fév 2025
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 commentaire
Vasool Tandav
Vasool Tandav le 5 Nov 2021
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.

Connectez-vous pour commenter.

Réponses (1)

Gautam
Gautam le 11 Fév 2025
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.

Catégories

En savoir plus sur Model Import dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by