I am using obj loader, but my obj can not be displayed at all

You can use the code from gltf-viewer for centering your object and an optimal camera configuration:

The variable object represents your loaded asset.