{"id":27372170,"url":"https://github.com/apprentice3d/reality.capture-go-photoii3d","last_synced_at":"2025-07-06T23:05:17.789Z","repository":{"id":57574811,"uuid":"116624847","full_name":"apprentice3d/reality.capture-go-photoII3D","owner":"apprentice3d","description":"Sample using Forge Reality Capture API","archived":false,"fork":false,"pushed_at":"2018-10-03T18:12:42.000Z","size":2009,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T10:02:18.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apprentice3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-08T03:30:29.000Z","updated_at":"2024-01-12T13:10:32.000Z","dependencies_parsed_at":"2022-09-26T19:53:23.599Z","dependency_job_id":null,"html_url":"https://github.com/apprentice3d/reality.capture-go-photoII3D","commit_stats":null,"previous_names":["apprentice3d/forge-photoii3d"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/apprentice3d/reality.capture-go-photoII3D","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apprentice3d%2Freality.capture-go-photoII3D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apprentice3d%2Freality.capture-go-photoII3D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apprentice3d%2Freality.capture-go-photoII3D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apprentice3d%2Freality.capture-go-photoII3D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apprentice3d","download_url":"https://codeload.github.com/apprentice3d/reality.capture-go-photoII3D/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apprentice3d%2Freality.capture-go-photoII3D/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263986225,"owners_count":23539808,"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","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":"2025-04-13T09:53:16.477Z","updated_at":"2025-07-06T23:05:17.767Z","avatar_url":"https://github.com/apprentice3d.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# photoII3D\n\n[![Build Status](https://travis-ci.org/apprentice3d/forge-photoII3D.svg?branch=master)](https://travis-ci.org/apprentice3d/forge-photoII3D)\n[![Go Report Card](https://goreportcard.com/badge/github.com/apprentice3d/forge-photoII3D)](https://goreportcard.com/report/github.com/apprentice3d/forge-photoII3D)\n![Platforms](https://img.shields.io/badge/platform-windows%20%7C%20osx%20%7C%20linux-lightgray.svg)\n[![License](http://img.shields.io/:license-mit-blue.svg)](http://opensource.org/licenses/MIT)\n\n[![Autodesk-HIG](https://img.shields.io/badge/Autodesk--HIG-v1-blue.svg)](https://github.com/Autodesk/hig)\n\n\n**Forge API:** [![oAuth2](https://img.shields.io/badge/oAuth2-v2-green.svg)](http://developer-autodesk.github.io/)\n[![Reality-Capture](https://img.shields.io/badge/Reality%20Capture-v1-green.svg)](http://developer-autodesk.github.io/)\n\n# Description\nThis sample illustrates the [Forge Reality Capture API](https://developer.autodesk.com/api/reality-capture-cover-page/)'s photogrammetry workflow:\n\n- Create a photo scene giving certain params (output file, scene type etc.)\n- Add photos to a scene (locally or remotely located)\n- Initiate Generate a 3D mesh model\n- Obtain a download link for the model\n\n### Thumbnail\n![image with a general presentation here](./doc/cover.gif)\n\n\n# Setup\n## Prerequisites\n1. **Forge Account**: Learn how to create a Forge Account, activate subscription and create an app at [this tutorial](http://learnforge.autodesk.io/#/account/);\n2. [Node.Js](https://nodejs.org) and basic knowledge of JavaScript;\n3. [Visual Studio Code](https://code.visualstudio.com/) or any other code editor.\n\n\n## Running locally\n\nSet the ```FORGE_CLIENT_ID``` and ```FORGE_CLIENT_SECRET``` environment\nvariables with your Forge secrets.\n\nThis app works on `port 3000`, so make sure it is available.\n\n1. If you don't have [Go](http://golang.org) installed or don't have the will or skills, grab the zip archive from the [releases](https://github.com/apprentice3d/reality.capture-go-photoII3D/releases) page\nand un-archive it into favourite folder.\n\nTo start the app just run the `forge-photo23d` executable.\n\n\n2. If you have Go already setup, and you want to build it by yourself, follow the following steps:\n\n\t1. Using the command line, run:\n\n    \t\tgo get -u github.com/apprentice3d/forge-photoII3D\n\n\t\tchange to created/updated directory:\n\n    \t\tcd $GOPATH/src/github.com/apprentice3d/forge-photoII3D\n\n\t2. You have to build the frontend separately,\n\t\tthus switch to `frontend_src' and run \n\n    \t\tnpm run build\n\n\t\tthat will build (transpile, compress and bundle) the html/js/css code and place it into `client` folder in source root for server to serve.\n\t\t\n\t3. Switch back to the route of this project by running\n\t\n\t\t\tcd ..\n\t\t\t\t\n\t\tand start the server by running\n\n    \t\tgo run main.go\n\n\nOpen a browser and navigate to `http://localhost:3000`\n \n# Further Reading\n\nDocumentation:\n\n- [OAuth API](https://forge.autodesk.com/en/docs/oauth/v2/)\n- [Reality Capture API](https://forge.autodesk.com/en/docs/reality-capture/v1)\n\nTutorials:\n\n- [Create 3D Mesh from Photos](https://forge.autodesk.com/en/docs/reality-capture/v1/tutorials/create-3d-mesh-from-photos/)\n\nBlogs:\n\n- [Forge Blog](https://forge.autodesk.com/blog/hitchhikers-guide-reality-capture-api)\n\nOther samples:\n\n- [reality.capture-go-photoII3D\n](https://github.com/apprentice3d/reality.capture-go-photoII3D)\n- [reality.capture-go-cli.sample\n](https://github.com/apprentice3d/reality.capture-go-cli.sample)\n\n# Source code structure:\nThis sample code contains 2 parts:\n\n- a [React](https://reactjs.org/) powered frontend, contained in `frontend_src` folder\n- a [Go](https://golang.org/) powered backend, mainly contained in `server` folder\n\nThe suggested approach for experiments and development is to:\n\n 1. start the backed by running `go run main.go`\n 2. go to frontend by switching to `frontend_src`, installing all\n dependencies by running `npm install` and start the frontend by running `npm start`\n\n A separate start of the front end is necessary to have all the feature of\n `hot-reloading` activated, so upon saving the changes\n made to code in `frontend_src`, will be \"auto-compiled\" and reloaded.\n\n Work on backed is as usual, any changes to the code will become effective\n only after restarting the server.\n\n When experiments are final, run `npm run buld` within `frontend_src` folder.\n This will create a client folder in the root folder of the project, which will contain a transpiled, minimized and bundled version of the frontend,for server to serve.\n\n Finally, after the client was build, the server will serve the frontend from that folder.\n\n\n# License\n\nThis sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). Please see the [LICENSE](LICENSE) file for full details.\n\n# Written by\n\nDenis Grigor [denis.grigor@autodesk.com](denis.grigor@autodesk.com), [Forge Partner Development](http://forge.autodesk.com)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapprentice3d%2Freality.capture-go-photoii3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapprentice3d%2Freality.capture-go-photoii3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapprentice3d%2Freality.capture-go-photoii3d/lists"}