Display Mathematica graphics
From JReality Wiki
jReality Tutorial: Contents
 Compute your geometry in Mathematica®. e.g.
f[x_, y_] := 10 Sin[Sqrt[x^2 + y^2]] / Sqrt[x^2 + y^2] g = Plot3D[f[x, y], {x, 20, 20}, {y, 20, 20}, PlotPoints > {100, 100}, PlotRange > All, AspectRatio > Automatic]
 Save the Graphics3D to a file whose name ends in ".m":
g >> test.m
 In older versions of Mathematica the output of Plot3D and ListPlot3D is of type SurfaceGraphics and has to be wrapped in Graphics3D (check with
Head[g]
):
Graphics3D[g] >> test.m
 Load the file into JRViewer or JRViewerVR.
 Sometimes reading of the very complicated Graphics3D format into jReality does not work. Then you may try the JavaView format .jvx:
Export["test.jvx", g]
The Mathematica output:
In JRViwerVR:
