When drawing a surface with render != 0
, Asymptote does not do a zbar-sort on the patches, presumably since the rendering software is expected to deal with hidden surface removal. However, due to a bug in the rendering software(?) on many systems, this does not work correctly for semi-transparent surfaces. Including a zbar-sort in the drawing routine would be an easy workaround (since the code is already written for the render=0
).
See the last two images in this post for an illustration of the difference. The comments also indicate that I am not the only user who would find this addition helpful.
Good idea. This is now implemented in svn (and the upcoming 2.25 release).