Orthogonal projection of solid
Show older comments
I'm trying to obtain an orthogonal projection of a solid. I can easily plot my solid using surf and what I need is basically what I see on my figure but in the form of a matrix. Also, I only need the shadow of my projection.
Is there an easy way to do this through MATLAB code? I have been looking all morning and couldn't find anything yet.
Accepted Answer
More Answers (1)
Doug Hull
on 22 Jul 2011
1 vote
It sounds like you want the 'shadow' as if there was a light at -inf in the X and see what gets cast on a wall on inf side of your surface.
Could you take the min and max of the surface for each Y in your surface? I think I have seen that done, and it ends up giving you a patch.
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!