Menu

#43 Sort patches even for rasterized surfaces

None
closed-accepted
nobody
None
5
2014-04-18
2014-04-18
No

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.

Discussion

  • John Bowman

    John Bowman - 2014-04-18

    Good idea. This is now implemented in svn (and the upcoming 2.25 release).

     
  • John Bowman

    John Bowman - 2014-04-18
    • status: open --> closed-accepted
     

Log in to post a comment.