# How to draw a 3D polygon like this? [closed]

I tried to draw first picture with Raster3D, but the result is strange:

So, what is best function to call to draw 3d polygon like that?

-

## closed as off-topic by JasonB, Yves Klett, Louis, MarcoB, Dr. belisariusJan 21 at 6:39

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – JasonB, Louis, Dr. belisarius
If this question can be reworded to fit the rules in the help center, please edit the question.

Related (if quite the superset of this question): Mathematica Minecraft. – Yves Klett Jan 20 at 17:00
Also a possible duplicate of Plotting Voxel in mathematica. – Yves Klett Jan 20 at 17:08

Here is something to get you started, look at Cuboid
Show[Graphics3D[{Directive[#1], Cuboid[{0, 0, 0}, #2]}] & @@@ {