On Sun, Feb 21, 2010 at 7:15 PM, David Arnold <dwarnol...@suddenlink.net> wrote:
> Hi,
>
> What prevents me from using mplot3d in the classroom is highlighted by the 
> following example.

I believe the problem arises because each artist (ie each polygon,
line or 3d text object) is rendered separately, and so there is no way
different faces from the same object to be rendered on different sides
of another object in the scene.

I am no expert on the mplot3d internals or pipeline, but it seems like
the solution is for each artist to transform the faces of their
respective polys and place them in a Axes3D level list (or other data
structure) along with their properties (eg facecolor, alpha) and then
do a zordering and clipping at the axes level rather than the artist
level before rendering.  One might use a custom PolyCollection for
this....

For those of you with more familiarity with mplot3d internals: is this
approach viable/feasible?

JDH

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to