A simple example of using geometry-extrude for extruding polygon to mesh and using three.js for rendering. Live demo