auto detect camera resource

1. auto detect camera resource
2. center cam view