Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moritzsalla/photogrammetry-threejs-boilerplate
threejs + GLTFLoader boilerplate
https://github.com/moritzsalla/photogrammetry-threejs-boilerplate
gltf photogrammetry reactjs threejs
Last synced: about 2 months ago
JSON representation
threejs + GLTFLoader boilerplate
- Host: GitHub
- URL: https://github.com/moritzsalla/photogrammetry-threejs-boilerplate
- Owner: moritzsalla
- Created: 2020-04-18T20:50:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-29T11:58:07.000Z (over 3 years ago)
- Last Synced: 2024-11-06T03:55:38.248Z (3 months ago)
- Topics: gltf, photogrammetry, reactjs, threejs
- Language: JavaScript
- Homepage: https://photogram-three.vercel.app
- Size: 44.9 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Photogrammerty three.js Boilerplate
## Building a model in Regard3d
![Image](./images/screenshot.jpg)
This should take ~40 min. Duration is highly dependent on your computers performance and the amount of images you take.
### Instructions
1. Take 20–50 pictures. When taking pictures, move by small amount around your scene. Wide angle lenses work best.
2. Download Regard3d : https://sourceforge.net/projects/regard3d/files/latest/download
3. Create a new project
4. Import your images (for some cameras, sensor width (not diagonal) and focal length needs to be set manually. If you don’t know it, you can search for it on google)
5. Please select these settings
1. Compute Matches Stage
![Image](./images/screenshot1.jpg)
2. Triangulation Stage
![Image](./images/screenshot2.jpg)
3. Surface Generation Stage
![Image](./images/screenshot3.jpg)
6. Export as .obj (this generates .pngs, and obj and an mtl file)
7. Dump all files here: https://www.creators3d.com/online-viewer
8. Under optimizations, turn on image, mesh and „compress as png“.
9. Download GLB
10. Upload the .glb file here with your name in the title: https://drive.google.com/drive/folders/1xkkB2qXrySHoB-rO1nPJrzq1p-QvHMDm?usp=sharing.### Troubleshooting
- If it takes too long to compute, try less images and/or less depth at the surface generation stage
- There’s no .mtl file: you likely forgot to check „textures“ during step 5.3.
- Contact me here: [email protected]### Running the app
#### `yarn start`
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.The page will reload if you make edits.
You will also see any lint errors in the console.#### `yarn build`
Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.The build is minified and the filenames include the hashes.
Your app is ready to be deployed!See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.