Iraklis,
There is a geo-processing tool called Polygon to Raster and its found in the Conversion > To Raster toolbox.
Duncan
Are you saying the vertices of the polygon contain z values? You could convert your polygon to points with z values then convert these to pixels with their z values.