Rendering the contour/outline of 3D objects in Matlab

5 views (last 30 days)
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

Answers (1)

Mingta Yang
Mingta Yang on 5 Mar 2021
fill3 might be what you need.

Community Treasure Hunt

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

Start Hunting!