enjoy its great tutorial here all so you can get idea how to make it with polygon object: cal.jmu.edu/ratner/tutorials/