Plot mesh as interactive html

版本 1.6.0.0 (5.2 KB) 作者: Benjamin I
A simple script to convert a mesh consisting of faces and vertices to an interactive html document.
797.0 次下载
更新时间 2015/8/23

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

引用格式

Benjamin I (2024). Plot mesh as interactive html (https://github.com/benjaminirving/matlab-to-html-plot), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
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

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库