Contour of a 2d projection from 3d data
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Timur Navruzov
el 3 de Dic. de 2015
Comentada: Timur Navruzov
el 4 de Dic. de 2015
Hi I am given many vertices and faces for a tree with 4 branches (2 on the side and 2 at the top). I need to look at X-Y and Y-Z projections with only the outlines displayed. If I simply plot (x,y) and (y,z) then all internal points fill the projection and I can't figure out how to get rid of them. I cannot simply use xmin and xmax, because that gets rid of parts of the branches Thanks for your help
0 comentarios
Respuesta aceptada
Mike Garrity
el 3 de Dic. de 2015
Editada: Mike Garrity
el 3 de Dic. de 2015
The basic idea is that you use surf or patch or whatever you're using to draw the 3D object, but replace either the X,Y, or Z data with a constant array of the same size (the zeros(size(xs))+1.5 parts of the first 3 calls to surface in that answer).
Does that make sense? If you need more details, I'd probably need more details of how your 3D object is represented.
Más respuestas (0)
Ver también
Categorías
Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!