matejsoukup
a99d4eaa1c
Partial panorama default cube size fix
Change computation of cube size - taking haov into account
6 år sedan
Matthew Petroff
60c4d5d606
Don't add extra parameters to JSON config file ( fixes #624 ).
6 år sedan
Matthew Petroff
8934629cbb
Generate all multires tiles when using full panorama, and when skipping tiles, make sure the tile color matches the background color.
6 år sedan
Matthew Petroff
ed05162933
Allow for generating large multires images with Pillow >5.0.
6 år sedan
David von Oheimb
0c92d85b11
support also partial cubemap/fallback images: backgroundColor for missing face(s) ( #570 )
* support also partial cubemap/fallback images: backgroundColor for missing face(s)
* extend multires/generate.py to cylindrical input and partial panoramas
* fixed a few typos in new help strings of generate.py
* Missing cubemap faces now need to be defined as null in the configuration
* made generate.py strict again on existing output directory, printing descriptive error message
* replaced unsafe eval by ast.literal_eval in generate.py
* a couple of minor improvements regarding 'undefined' in libpannellum.js
* made generate.py allow existing output directory in debug mode
for convenience, no need to delete output directory every time while testing
6 år sedan
Matthew Petroff
2341ef6b2b
Bump copyright year.
6 år sedan
Matthew Petroff
972e7e4f3d
Drop alpha channel to work with Pillow >4.2 ( fixes #455 ).
7 år sedan
Matthew Petroff
cd72d775b1
Handle PATH not being set ( fixes #336 ).
7 år sedan
Matthew Petroff
f5acb2e8d7
Bump copyright year.
8 år sedan
Matthew Petroff
3ca79600ba
Add Pillow to the requirement list for the multires `generate.py` script.
8 år sedan
Matthew Petroff
f430bbfc34
Don't explicitly type out pi.
8 år sedan
Johannes Lehtinen
ce5e6d4b81
Added a -q/--quality option to specify output JPEG quality.
9 år sedan
Johannes Lehtinen
69908bc449
Added a -c/--cubesize option for specifying the cube size to the multires generation script. Default is to automatically determine cube size as before.
9 år sedan
mko
04ca9d02ab
Do not prefix paths with dot
Extra dot in front of paths like 'path' and 'fallbackPath' are not necessary and may cause unexpected errors.
9 år sedan
Matthew Petroff
b268d29c42
Make CSS 3D renderer work with cubemaps, fix its edge flickering bug, and remove need for extra row of pixels in multires fallback images.
9 år sedan
Matthew Petroff
9d4f8deb4d
Add comment about needing nona.
9 år sedan
Matthew Petroff
bb3b6bd1e3
Bump copyright year.
10 år sedan
Matthew Petroff
16a2afe223
Add Python 2.7 support to multires generation script.
10 år sedan
Matthew Petroff
42b97e682b
Use correct extension in generated multires config.
10 år sedan
Matthew Petroff
6c5fc192c3
Add check to multires generation script to try to make sure the input isn't a partial panorama.
10 år sedan
Matthew Petroff
8872fbbeec
Add fallback parameter to multires generator script.
10 år sedan
Matthew Petroff
062b01f754
Add 1px border to remove thin lines visible in CSS renderer.
10 år sedan
Matthew Petroff
901726e3a4
Add fallback tiles to multires generation script.
10 år sedan
Johannes Wienke
91005f8e61
Replace system calls with subprocess
Replaces the os.system call for nona with a subprocess.check_call call
to get informed about errors when calling nona instead of silently
ignoring them before failing with missing files.
10 år sedan
Johannes Wienke
27f48187b6
Let argparse print default values
Use a formatter for argparse to print default values instead of doing
this manually.
10 år sedan
Johannes Wienke
35dd023509
Check for nona and add command line argument
Checks for a nona executable and adds a command line argument to specify
an executable. The argument is required from the user in case nona
cannot be found on the path.
10 år sedan
Johannes Wienke
11b60f1f00
Require python3 in shebang line
Encode the explicit requirement on python 3 in the shebang line for
script usage.
10 år sedan
Matthew Petroff
1ba1595d1c
Fixed generate.py bug (thanks wolke).
10 år sedan
Matthew Petroff
f39b5c45dd
Added multires tile set generator.
10 år sedan