glotzerlab / plato

Efficient visualization of particle data supporting several rendering engines.
https://plato-draw.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

Matplotlib spheres don't clip their child light disks #1

Open bdice opened 6 years ago

bdice commented 6 years ago

Original report by Matthew Spellings (Bitbucket: mspells, GitHub: klarh).


This could potentially be a problem if the light direction veers too far away from (0, 0, -1). Fighting with matplotlib to get it to actually clip the disks was becoming burdensome, so I left it as a TODO.

This probably doesn't matter too much in the grand scheme of things, since it's so hard to see what's going on in any nontrivial matplotlib-rasterized scene at the moment.