terrain drawing working