Rendering the contour/outline of 3D objects in Matlab

9 views (last 30 days)
Sandor Toth
Sandor Toth on 26 Nov 2013
Answered: Mingta Yang on 5 Mar 2021
Hello,
I am plotting crystal structures in Matlab using balls and sticks as surfaces. I can produce nice 3D renderings with shading etc.
However I would like to render only the contour of the objects, so a sphere would be only drawn as a circle, sticks as rectangle and so on. Drawing these objects is easy, however I would have to take care when two objects are covering/crossing each other. Is there an easy solution for this problem, like a custom renderer for Matlab.
I hope the question was clear :) Thanks,
Sandor

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by