objrender: take in obj file as a parameter