{"id":20082396,"url":"https://github.com/googlesamples/sceneform-poly-browser","last_synced_at":"2025-08-10T16:08:34.532Z","repository":{"id":87482378,"uuid":"162494101","full_name":"googlesamples/sceneform-poly-browser","owner":"googlesamples","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-20T18:49:35.000Z","size":130,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-06T00:38:05.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlesamples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-19T21:45:19.000Z","updated_at":"2020-10-01T06:03:25.000Z","dependencies_parsed_at":"2023-07-15T11:02:33.317Z","dependency_job_id":null,"html_url":"https://github.com/googlesamples/sceneform-poly-browser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/googlesamples/sceneform-poly-browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fsceneform-poly-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fsceneform-poly-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fsceneform-poly-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fsceneform-poly-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlesamples","download_url":"https://codeload.github.com/googlesamples/sceneform-poly-browser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fsceneform-poly-browser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269748220,"owners_count":24469107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T15:43:15.115Z","updated_at":"2025-08-10T16:08:34.507Z","avatar_url":"https://github.com/googlesamples.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poly API - Android Sample\n\nCopyright (c) 2017 Google Inc. All rights reserved.\n\nThis is a sample project showing how to invoke the\n[Poly API](https://developers.google.com/poly) from\nan Android app.\n\n**Note about rendering:** The focus of this sample is showing how to call the\nPoly API, not showing how to render models. The renderers included in the\nsamples are very basic and only meant as a proof of concept, so they won't\nwork with all assets. See the notes under each sample below for information\nabout what kinds of assets each sample can render.\n\n## Get your API Key\n\nBefore proceeding, you must obtain your API Key from Google Cloud Console\nas decribed in the [documentation](https://developers.google.com/poly/develop).\nThis API Key will allow you to make calls to the Poly API.\n\n## Basic Sample\n\n1. Install [Android Studio](https://developer.android.com/studio/index.html).\n1. Open Android Studio.\n1. Choose **Import Project** from the startup menu.\n1. Import the `PolySampleAndroid` directory.\n1. Open the `PolyApi.java` file.\n1. Enter your API Key in the `API_KEY` variable.\n1. Click **Run**.\n\nDepending on which Android SDK modules you have installed, you may need\nto download additional build tool versions and/or platforms. Android Studio\nwill prompt you as needed during the import process.\n\nNote: The basic renderer included in this sample only supports Blocks\nobjects. It uses the diffuse material color encoded in the MTL file as\nthe color of the material. It does not support lighting or textures.\n\n## ARCore Sample\n\nThe ARCore sample in this package is based on the sample for the\n[Google AR SDK for Android](https://github.com/google-ar/arcore-android-sdk).\nThe modification to that sample is that instead of loading an OBJ file from\ndisk, this sample loads the OBJ file using the Poly API.\n\nTo run the sample:\n\n1. Follow the setup steps for ARCore as explained in the\n   [ARCore Getting Started guide](https://developers.google.com/ar/develop/java/getting-started).\n1. Open Android Studio.\n1. Choose **Import Project** from the startup menu.\n1. Import the `PolySampleARCore` directory.\n1. Open the `PolyApi.java` file.\n1. Enter your API Key in the `API_KEY` variable.\n1. Ensure that your ARCore-compatible phone is plugged into your computer.\n1. Click **Run**.\n\nNote: The renderer included in this sample only supports objects with\nexactly one texture.\n\n## License\n\nFor license information, refer to the `LICENSE` file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglesamples%2Fsceneform-poly-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglesamples%2Fsceneform-poly-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglesamples%2Fsceneform-poly-browser/lists"}