3D graph - Patch function
Afficher commentaires plus anciens
Hi.
I am using the patch function to build a 3d graph, but i want only one side of every patch to be colored and not both. Can someone help me?
3 commentaires
Matt Tearle
le 14 Avr 2011
A patch is a 2-D polygon in a 2-D or 3-D space -- what do you mean by "one side" to be colored, but not "both"? The "sides" of a polygon are the edges around the perimeter (of which there have to be at least three).
dimi mouhta
le 14 Avr 2011
Walter Roberson
le 14 Avr 2011
Matt, patches are not restricted to 2-D polygons. The vertices of any one face in a patch do not need to be co-planar.
Réponses (1)
Walter Roberson
le 14 Avr 2011
0 votes
dimi, how should the second side appear? Should it be like "one way glass", clear when you look at it from one direction but colored when you look at it from the other direction?
Is what you are trying to do something that could be achieved by lighting effects -- e.g., placing a light inside the polyhedra but no light outside?
1 commentaire
dimi mouhta
le 14 Avr 2011
Catégories
En savoir plus sur Polygons dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!