In v10.1 under Windows x64 I experience no "z-fighting" in this example when using the "BSPTree"
rendering method. This method may be individually selected using BaseStyle
data = {{1, 1, 1, 1}, {1, 0, 3, 1}, {2, 0, 0, 1}};
plot = ListPlot3D[data, Mesh -> None, InterpolationOrder -> 0, Filling -> Bottom,
FillingStyle -> {Opacity[1]}, ColorFunction -> "SolarColors",
ViewPoint -> {Pi, Pi, 5}]
Show[plot,
BaseStyle ->
RenderingOptions ->
{"Graphics3DRenderingEngine" -> "BSPTree"}]
The same Option may be given in ListPlot3D
but I separated it with Show
for clarity.
It may also be set globally for a session with:
SetOptions[$FrontEndSession,
RenderingOptions -> {"Graphics3DRenderingEngine" -> "BSPTree"}]
Or persistently by changing $FrontEndSession
to $FrontEnd
in the code above.
Other cases where the rendering method is important:
- Unintended edge extensions in 3D Cube renderingUnintended edge extensions in 3D Cube rendering
- Opacity renders lines incorrect in certain viewing anglesOpacity renders lines incorrect in certain viewing angles
- Weird behaviour of multiple transparent Raster3D objects in one Graphics3DWeird behaviour of multiple transparent Raster3D objects in one Graphics3D
And one I just found which basically duplicates this question: