0
$\begingroup$

If Matplotlib could volume render, I would not ask this question. But it can't. Can I however instead use Matplotlib to plot the surface of a 3D body? I.e. is there a way to (i) triangulate the outside or 'skin' of this body, and (ii) can that surface be plotted?

Note that the body is regularly sampled in the 3 dimensions (a simple 3D Numpy array) but can be quite complex, with indentations and bits sticking out, etc...

PS: I know there are other packages that can volume render, but I really would like to stick to Matplotlib.

$\endgroup$
  • $\begingroup$ Isn't this what you are looking for? $\endgroup$ – Anton Menshov Aug 5 '19 at 14:03
  • $\begingroup$ I think that this question is better suited for StackOverflow. There, I have already answered a similar question: stackoverflow.com/a/35472146/3358223 $\endgroup$ – nicoguaro Aug 5 '19 at 15:12
  • $\begingroup$ Thanks nicoguaro - very helpful $\endgroup$ – M. Kemper Aug 12 '19 at 11:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.