more work on three js rendering