Plot mesh as interactive html

A simple script to convert a mesh consisting of faces and vertices to an interactive html document.
809 download
Aggiornato 23 ago 2015

x3mesh is a small and simple script for converting a Matlab mesh consisting of faces and vertices into an x3dom object in an html file.
This allows 3d objects to be displayed and interacted with on the web (rotate and zoom).

Run demo1.m and demo2.m to try it out. The script produces a .html files which can be opened in a browser.

An example of the output can be found here:
http://www.birving.com/other/Example4.html

The script takes advantage of the x3dom web format. More details can be found here:
http://www.x3dom.org/

Not supported by internet explorer. Use a recent Firefox, Chrome or Safari browser.

Update:
1) Added better optional argument parser
2) Added option to set vertex color
3) Added option so set mesh to auto-rotate

Cita come

Benjamin I (2026). Plot mesh as interactive html (https://github.com/benjaminirving/matlab-to-html-plot), GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Printing and Saving in Help Center e MATLAB Answers

Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate

Versione Pubblicato Note della release
1.6.0.0

Linked to github

1.5.0.0

added better demo files and surf export example

1.4.0.0

added ability to set mesh color and autorotation. Improved function parsing using inputParser.

1.3.0.0

added a second demo file

1.2.0.0

update title to make it clearer

1.1.0.0

added note about internet explorer not being supported

1.0.0.0

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.