Re: [Matplotlib-users] mplot3d stays?

2010-02-27 Thread Friedrich Romstedt
http://www.friedrichromstedt.org/python/pyclip/a01.Zerteilung.pdf (It's unfortunately in german, but the graphics are self-explaining) A school mate working together with me on the project has worked that out. H = number of corners of the front triangle lying inside of the back triangle V =

Re: [Matplotlib-users] mplot3d stays?

2010-02-27 Thread Ben Axelrod
doing this for general polygons and handling the edges properly. But that should not be super hard. -Ben From: Friedrich Romstedt [friedrichromst...@gmail.com] Sent: Saturday, February 27, 2010 11:28 AM To: matplotlib-users Subject: Re: [Matplotlib-users

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Friedrich Romstedt
2010/2/26 Gael Varoquaux gael.varoqu...@normalesup.org: What Eric was most probably talking about is the newer versions of Mayavi, that we tend to call 'mayavi2', even though we are now up to version 3, in particular the mlab interface:

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Reinier Heeres
Dear all, One of the great advantages of the current mplot3d design is that it produces complete vector based graphics with the same look-and-feel as your 2d plots. Integration with OpenGL will certainly change this, as the rendering will always give you (as far as I know) a bitmap. I think this

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Alan G Isaac
On 2/26/2010 3:04 AM, Friedrich Romstedt wrote: I need a physical rendering engine with light sources and reflectance/transmittance simulation http://en.wikipedia.org/wiki/POV-Ray ? Alan Isaac -- Download Intel#174;

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Jakub Nowacki
Dear all, I don't know if creating full blown 3d library makes much sense. I think Reinier is right here that the current mplot3d creates quite satisfactory outcome with matplotlib look-and-feel we all like. In general, there are 3d libraries/packages out there (VTK, Mayavi2 etc.), which do

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Ben Axelrod
...@googlemail.com] Sent: Friday, February 26, 2010 12:01 PM To: matplotlib-users Subject: Re: [Matplotlib-users] mplot3d stays? Dear all, I don't know if creating full blown 3d library makes much sense. I think Reinier is right here that the current mplot3d creates quite satisfactory outcome with matplotlib

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Friedrich Romstedt
I also agree with Reinier.  I want my 3d plots to look as close as possible to my 2d plots.  Because mplot3d uses so much of the same matplotlib core, this is trivial.  As Friedrich mentioned, the mplot3d code is actually pretty small.  To me, that is a great feature.   I found the mplot3d

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Reinier Heeres
Hi all, I'll mention again that I intend to continue supporting mplot3d, although help would be greatly appreciated. I think the z-ordering issues are in the end quite hard to tackle, especially since we can have different kinds of structures in a plot, e.g. polygons and lines (or rather:

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Friedrich Romstedt
I have worked in highschool on a project Beam tracing where I had to subdivide triangles from a certain point of view with z-ordering and with such a subdivision how they are covered by the viewing beam. This means this engine you want to write already exists. See the following ascii graphics:

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Reinier Heeres
Hi Friedrich, Thanks for your message. On Thu, Feb 25, 2010 at 9:24 AM, Friedrich Romstedt friedrichromst...@gmail.com wrote: I have worked in highschool on a project Beam tracing where I had to subdivide triangles from a certain point of view with z-ordering and with such a subdivision how

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread John Hunter
On Feb 25, 2010, at 2:50 AM, Friedrich Romstedt friedrichromst...@gmail.com wrote: 2010/2/25 Reinier Heeres rein...@heeres.eu: Of course many 3D engines do this already, but the problem is always the integration. Is your engine python based and is the code (freely) available? I would

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Friedrich Romstedt
2010/2/25 John Hunter jdh2...@gmail.com: We rely on plenty of C++ code so this isn't a problem for us. We would have to write an interface layer but it shouldn't be too difficult. The harder problem may be dealing tracking the interior vs the edges of the mesh, but certainly not

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Eric Firing
John Hunter wrote: [...] It looks like we have enough 3D projects to justify a google summer of code student. Would those of you with an interest in mplot3d and some knowledge of the internals be interested in helping mentor a student?

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Friedrich Romstedt
2010/2/25 Eric Firing efir...@hawaii.edu: Is it time for some re-thinking of the approach to 3-D?  I am a bystander, but I have the uneasy sense that trying to turn mplot3d into a first-class 3-D plotting tool may be a misapplication of effort. Might the effort be more productive if applied to

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Gael Varoquaux
On Fri, Feb 26, 2010 at 12:16:40AM +0100, Friedrich Romstedt wrote: 2010/2/25 Eric Firing efir...@hawaii.edu: Is it time for some re-thinking of the approach to 3-D?  I am a bystander, but I have the uneasy sense that trying to turn mplot3d into a first-class 3-D plotting tool may be a

Re: [Matplotlib-users] mplot3d stays?

2010-02-22 Thread John Hunter
On Mon, Feb 22, 2010 at 10:01 AM, Ben Axelrod baxel...@coroware.com wrote: John, your assesment of the problem is correct.  And I believe your suggested solution is also correct.  Currently, each call to a mplot3d plot method is treated independantly.  They get converted into custom

[Matplotlib-users] mplot3d stays?

2010-02-21 Thread Jakub Nowacki
Hi, I have quite general question. Since mplot3d now back in matplotlib, the question is: is it going to stay there? Or is it some test release? I was just wondering cause sometimes I use 3d plotting and use Mayavi2 for that but in many cases it's like killing the spider with a shotgun, not

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread John Hunter
On Sun, Feb 21, 2010 at 8:20 AM, Jakub Nowacki j.s.nowa...@googlemail.com wrote: Hi, I have quite general question. Since mplot3d now back in matplotlib, the question is: is it going to stay there? Or is it some test release? I was just wondering cause sometimes I use 3d plotting and use

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread David Arnold
, February 21, 2010 12:19 PM To: Jakub Nowacki Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] mplot3d stays? On Sun, Feb 21, 2010 at 8:20 AM, Jakub Nowacki j.s.nowa...@googlemail.com wrote: Hi, I have quite general question. Since mplot3d now back in matplotlib

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread John Hunter
On Sun, Feb 21, 2010 at 4:02 PM, Ben Axelrod baxel...@coroware.com wrote: I am not a MPL developer, You are now :-) but I am using mplot3d quite heavily right now to support 3D plots for a client of mine.  I have found many bugs and lacking features which I require in the mplot3d library