worked on rendering part in camera and pixel class