Less Folders for a future update?

Q&A about the latest versions
Post Reply
User avatar
Manel
Posts: 54
Joined: Thu May 26, 2016 4:52 pm

For the hosting plans, there is almost no limit, I have (200GB), but files numbers limited to 500.000, this is a problem.

I manage to reduce the output a lot (multi-resolution 1824 / 912), with a project per example with 12 panoramas it generates into the tiles folder 613 Files = 168 jpgs and 445 Folders!!
Almost 3 folders per image!

I hope that in the future this system changes.

thanks in advance and thanks again for this great product.
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Manel,
In the HTML5 output and under the Images tab set the level tile size to 1022px.
You can save this output as a template saving you having to set this every time.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Manel
Posts: 54
Joined: Thu May 26, 2016 4:52 pm

Thanks Hopki

I did it as you said and it's worse, more files were created.

Level tile size to 1022px.
Multi-resolution
Levels: Auto

What I was using after some tests was:

Level Size 1824px
Multi-resolution
Levels: Manual
1824
912

My images are 7296 x 3648px (Ricoh Z1 Size)
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

hint: Original or resized image width / Pi (3.1415)

Then each sub levels should be / 2 and /512 to equal to whole number like 4

Like level =512
2048 [ / 512 =4]
1024 [ / 512 = 2]
512 [ / 512 = 0]

Should result in fewer folders with few Tile files with no partial or fragmented 1/2 tile images

Remap with Pi is automatic IF you have highlighted yellow selected
Remap with Pi
Remap with Pi
remap.jpg (79.42 KiB) Viewed 4613 times
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
Manel
Posts: 54
Joined: Thu May 26, 2016 4:52 pm

Thanks Dave, already made a test, even worse (more files) than the solution I was using.
As I said, the problem is the huge amount of folders created with the Pano2VR system when Multi-Resolution is used, not of jpg files.
deedee123
Posts: 285
Joined: Wed May 20, 2020 10:38 am
Location: NL

Hi,

I'm wondering about this too.
As for the original question, how can the output have more folders than files? is it all empty folders?

I'm also trying to reduce the number of files, one reason is to reduce the "nodes" on my webserver, another is that my tablet (with package viewer) seems to "choke" on the number of files. (i get memory full message while many gigabytes should still be available).

What would be the effect of increasing multires tile size from 510 to 1020 (i do notice less files, but what other consequences does this have?)
The "Pi" also seems to have something to do with it, but without the maths, what real life thing does (un-)checking that value(s) in program settings do?

Would be great to have a little explanation on this. the help file seems to be made for mathematicians :)

David
User avatar
Manel
Posts: 54
Joined: Thu May 26, 2016 4:52 pm

there are folders under folders and finally the image.

You can use the Pi or a 4 divide. This is what I use dividing the size of my image. I'm happy with it, but no with the huge amount of folders.
deedee123
Posts: 285
Joined: Wed May 20, 2020 10:38 am
Location: NL

hi,
aha ok yes indeed, many folders, never saw it that way. I'll move my other questions regarding Pi to a new topic.
david
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Manel,
If you increased the level tile size then you will have fewer tiles.
The default is 510px, if you change this to 1022px then you will have fewer files.
For example, with Pano2VR set to the default of dividing by 4 and not PI, a panorama 6080 x 3040px using the default 510px will generate three resolution levels and three tiles per subfolder for the highest resolution.
Change the level tile size to 1022px and it will generate two levels and two tiles per folder.

But to be clear, are you asking for fewer folders or fewer files and/or folders?
You can remove all the subfolders by changing the multiresolution naming convention, under the Advanced tab of the HTML5 output, change the Filename from:

Code: Select all

tiles/$y/cf_%c/l_%l/c_%x/tile_%y.jpg
to

Code: Select all

tiles_$n/c%c_l%r_%y_%x.jpg
which is the second from the bottom of the list.
This will create one folder using the panoramas file name full of tiles.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
deedee123
Posts: 285
Joined: Wed May 20, 2020 10:38 am
Location: NL

hi,
I never knew this, great, i now changed my output to

tiles/$(y)/c%c_l%r_%y_%x.jpg

one folder with subfolders with just the node ID.

less folders and still organized enough. (don't need to do anything manually in those folders after all..!).

so this has no effect on output or display quality, right?

David
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi David,
Right, it's just a different way of organizing the tiles.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Manel
Posts: 54
Joined: Thu May 26, 2016 4:52 pm

Thanks Hopki

This was the solution! :-)
Post Reply