forest
c808c0022e
|
5 months ago | |
---|---|---|
skybox | 5 months ago | |
ReadMe.md | 5 months ago | |
index.css | 5 months ago | |
index.html | 5 months ago | |
index.js | 5 months ago | |
m4.js | 5 months ago | |
webgl-utils.js | 5 months ago |
ReadMe.md
I got it to work using the following resources:
Allow non-google android (LineageOS in my case) phone to use google camera app without micro-g: https://f-droid.org/packages/de.lukaspieper.gcam.services/
"modded gcam APKs" https://www.celsoazevedo.com/files/android/google-camera/f/changelog1252/ (linked from https://xdaforums.com/t/gcam-working-port-7-4.4172927/)
Tool to convert Google Camera's PhotoSphere output to a skybox texture for 3d rendering https://jaxry.github.io/panorama-to-cubemap/
Example code for how to make a skybox in WebGL: https://webglfundamentals.org/webgl/lessons/webgl-skybox.html
Also used https://www.npmjs.com/package/avif to get 6 2048x2048 images into just 1.2 MB
convert nx.jpg -filter Lanczos -resize 2048x2048 nx.png
convert ny.jpg -filter Lanczos -resize 2048x2048 ny.png
convert nz.jpg -filter Lanczos -resize 2048x2048 nz.png
convert px.jpg -filter Lanczos -resize 2048x2048 px.png
convert py.jpg -filter Lanczos -resize 2048x2048 py.png
convert pz.jpg -filter Lanczos -resize 2048x2048 pz.png
node /home/forest/Desktop/programs/node_modules/avif/bin/avif.js --input "$(pwd)/nx.png" --output "$(pwd)" --quality 28 --effort 7 --overwrite &
node /home/forest/Desktop/programs/node_modules/avif/bin/avif.js --input "$(pwd)/px.png" --output "$(pwd)" --quality 28 --effort 7 --overwrite &
node /home/forest/Desktop/programs/node_modules/avif/bin/avif.js --input "$(pwd)/ny.png" --output "$(pwd)" --quality 28 --effort 7 --overwrite &
node /home/forest/Desktop/programs/node_modules/avif/bin/avif.js --input "$(pwd)/py.png" --output "$(pwd)" --quality 28 --effort 7 --overwrite &
node /home/forest/Desktop/programs/node_modules/avif/bin/avif.js --input "$(pwd)/nz.png" --output "$(pwd)" --quality 28 --effort 7 --overwrite &
node /home/forest/Desktop/programs/node_modules/avif/bin/avif.js --input "$(pwd)/pz.png" --output "$(pwd)" --quality 28 --effort 7 --overwrite
How to disable zooming and scrolling on iOS: https://stackoverflow.com/a/74390230/1592004
How to disable "pull down to refresh" on mobile: https://stackoverflow.com/a/76136462/1592004