Version: 11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)
g =
Graphics3D[{},
ImageSize -> {1920, Automatic},
PlotRange -> {{-5, 5}, {-5, 5}, {-5, 5}},
Background -> None,
Axes -> False,
AxesStyle -> Thick,
ViewPoint -> {0, -10, 5}];
g = Show[g, Graphics3D[Sphere[]]];
Magnify[g, .25]
Export["Sphere10.png", g];
The export is a blank image. If you remove the ViewPoint, the image comes out right. Is this a bug or am I doing something wrong?
Edit
This problem keeps occurring for me at random times. Sometimes restarting Mathematica or my laptop fixes it but then the problem comes back. So it's the hardest kind of bug to find but it is extremely frustrating.
Rasterizethe image before exporting and that could solve the problem. – Jānis Šmits Jul 18 '18 at 06:57gfor multiple consecutive definitions. This could mess up your result if the evaluation sequence is changed. – Yves Klett Jul 18 '18 at 06:59Rasterizeand see if you get a valid image. Try to export this image as png. Try to export graphics and image to a different format liketif. Change the background color of your graphics. If the export is still white then you can be more certain the png writer is damaged – halirutan Jul 23 '18 at 00:53