I ran on a 3-D figure (created with patches) and got the following error:
??? SWITCH expression must be a scalar or string constant.
Error in ==> addmesh at 142
switch(Obj.FaceColor)
Error in ==> figure2xhtml>figurex3d at 196
data=addmesh(data,loc_scene,Obj);
Error in ==> figure2xhtml at 164
data=figurex3d(haxis,data,loc_scene);
The examples provided with the function ran well without errors.
Comment only
21 Feb 2012
Matlab 3D figure to 3D (X)HTML
Converts 3D objects of a Matlab figure to XHTML embedded X3D file. Interactive 3D website graphics.
Very good work....I have been searching for saving a MATLAB figure interactively into html. Searched and found the MATLAB builder ja which is bit complicated. My further search landed me here. Very good work.
But I have a problem in this. I ran these files and saved html version in test folder. I tried to open it with chrome and mozilla which are leatest, I get a blank screen showing X3DOM downloading the secene, but never I am getting the interactive image. Flash player is installed.
Why is it? Any solution?
Thanks....
Sreenu
https://sites.google.com/site/kolukulasivasrinivas/
Comment only