improved demo
changed Vertex to Vertex3D, added resolution function
restored Vertex3D
removed Vertex