add data to 3d object
read pixels