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 insurmountable. If you'd like to contribute the code, that'd
> be great. If you want to add some comments first, even better.

I'll be happy to contribute the code, but it certainly needs some
reworking and investigation before, because I recall it to be written
in part with german class names ... well, it was a high-school project
... long ago.

I think the concept could be fairly easy if I'm not mistaken: One has
a list of "pathes" (lines) and a list of "patches" (surfaces).  When
adding a plot, it will be both created and appended.  Then the
rendering engine clips the "pathes" and "patches" as mentioned.

I think also it would be a nice idea to design the thing in the whole
such that it can be integrated into matplotlib's core, I mean, that
one does not need to call another module to make 3D plots, but instead
simply passes another coordinate as non-None.  But this is just an
idea, I'm inclined to believe that it's maybe not feasible at the
present point.  Also I have way to low knowledge about mplot3d and am
in fact new to it.  Thus please apologise this thought if it is
half-baken or even raw.

> I believe the faces are quadrilateral, and Michael already wrote the code to
> convert these to triangle meshes for his gouraud shading work ( which I'd
> still like to see ported to 3d).

That sounds good, at least to me.

In fact, the project of mine is a complete renderer, thus we could
also incorporate any kind of shading and light sources and shadows
...... I send a picture appended.

> 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?

I never dived very deeply into matplotlib, and don't know how much
time I can efford for even one more project, but I can certainly help
with telling the concepts of my implementation etc. and how I coded
things, such that another person can do the real work :-) In fact,
even this small amount of help could maybe save us a lot of time?

My deepest matplotlib project was that mentioned in the thread
"Embedding matplotlib in Tkinter Applications" in the first post.
(Soon unter MIT.)

It would be great for me to make a contribution to a real usable
rendering engine ... :-)

Friedrich

Attachment: tst06.ppm.rar
Description: Binary data

------------------------------------------------------------------------------
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