mateuszitelli / convert360 Goto Github PK
View Code? Open in Web Editor NEW360 degree media toolkit.
License: GNU General Public License v3.0
360 degree media toolkit.
License: GNU General Public License v3.0
There seems to be a bug in the sampling, see images attached.
Running the bin/convert360 script with python 3, after having installed modules dexcribed below, having placed freeglut.dll in bin folder, and modified line 187 in projector.py GLUT.glutCreateWindow(b"Render")
# Added ability to use without installing with pip install
# pip install imageio, argparse (arg parser), tqdm (smart progess meter), pyopengl
import sys, os
sys.path.append(os.path.abspath(os.path.join('..')))
import convert360
I get the following error when running this
was@SKYNET-MASTER:/mnt/d/linux/gas/gaseous/Input/Cubemaps$ convert360 -i global_clouds_1.png -o global_clouds_cubemap.png 4096 4096
-bash: /home/was/.local/bin/convert360: /home/mateus/dev/still360/env/bin/python: bad interpreter: No such file or directory
It seems to be referencing a hard location on Mateus's computer, which ofc doesn't exist on mine.
Save the files as six individual files rather than one 3x2 merged file, as is required by for example Facebook's React VR.
Hat off! I am extremely happy to see this initiative! However I get a runtime error.
I suspect it has to do somehow with the OpenGL Shader version, but after several hours of googling and testing I cannot figure it out. Error message:
I've tried to update to latest xcode (Version 8.3.3, 8E3004b).
I also ran: xcode-select --install
I downloaded GLview which shows this, if related:
OpenGL version: 4.1 INTEL-10.25.13
OpenCL platform: OpenCL 1.2 (Apr 4 2017 19:07:42) (FULL_PROFILE)
Metal platform: Features 1v1, 1v2
Mac OS X 10.12.5 (16F73)
Also these are the python versions if relevant. I guess this is what I get with latest xcode:
anders$ python --version
Python 2.7.10
anders$ python3 --version
Python 3.6.1
I tried to process the following video files: 360/VR Master Series | Free Download | View On Low Waterfall with Nice City on Vimeo Download this, "UHD 4K"
However, the output video collapses as follows. Look at the screenshots.
convert360 -i in.mp4 -o out1024.mp4 -s 1024 1024
When I checked the properties of the video, the video itself is output at 3072 ร 2048, but the contents seem to have been cut to 1536 ร 1024.
With the default settings, it seems that the output is correct.
convert360 -i in.mp4 -o out512.mp4 -s 512 512
Also looking forward to the dev of the inverse transform (cubemap2equirectangular as developped in https://gitlab.eeecs.qub.ac.uk/40103899/BearThrills2.0/blob/13f1f9406c54a9d0c14940f08586eeb4fb78fe71/VisualisationSphereCube/PBR.cpp for example).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.