Use DrawCallback done.
change from depth.bmp to cout<<depth.