finished adding the geometry instancing code for the view object.