I want to create a fully non-transparent hexahedron (a 6 faces 3d object, like a distorted cube) using the patch function. Below is my code, (make the 3 adjacent faces of point #1 and then the other 3 adjacent to its antipodal point and thus having all 6 "patched"). However, the transparency as you can see does not work as intended. Any idea why that happens, or any way to bypass the problem?
vec=[1,2,4,3,1;1,5,6,2,1;1,5,7,3,1];
vec2=[8,4,3,7,8;8 4 2 6 8;8 6 5 7 8];
cube = [0 0 0;0 0 1;0 1 0;0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1];
figure
patch('Faces',[vec(1,:),vec(2,:),vec(3,:)],'Vertices',cube,'FaceColor','white','FaceAlpha',1); axis equal; cameratoolbar;
hold on
patch('Faces',[vec2(1,:),vec2(2,:),vec2(3,:)],'Vertices',cube,'FaceColor','white','FaceAlpha',1); axis equal; cameratoolbar;
(Matlab 2017a).

