I am plotting a simple function:
Plot3D[-RandomReal[{0, 10}] Cos[x/3] Cos[y/3],
{x, -π, π}, {y, -π, π},
Axes -> False,
Boxed -> False,
BoundaryStyle -> None,
Mesh -> None]
which Mathematica renders perfectly and which can be viewed, rotated, zoomed and so forth as I wish:
However, when I export via Export["test.obj", %] or also Export["test.wrl", %], I get something completely different/distorted:
My thought it could have something to do with clipping, mesh or boundaries, but I've tried playing with a number of different options to no avail. Am I doing something wrong or overlooking something?




Export["test.obj", %, "PDF"]for instance? – David G. Stork Feb 22 '17 at 22:38BoxRatios->{1,1,1}– george2079 Feb 22 '17 at 22:43BoxRatiosandViewPointdon't help... – David G. Stork Feb 22 '17 at 22:45Import[test.obj]back into Mathematica, I get a 3D figure that can be rotated and looks like the original. However, in Adobe Photoshop, I get only the (incorrect) 2D rendering. – David G. Stork Feb 22 '17 at 23:04