Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

View 3D pictures in 3D in the slideshow #27

Closed
oparoz opened this issue Sep 4, 2016 · 8 comments
Closed

View 3D pictures in 3D in the slideshow #27

oparoz opened this issue Sep 4, 2016 · 8 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@oparoz
Copy link
Member

oparoz commented Sep 4, 2016

From @oparoz on March 20, 2015 22:13

Stereo JPEGs are currently shown in 2D, but it would be interesting to be able see them in full 3D.

I'm thinking creating anaglyph 3D pictures on the fly at first since they can be viewed by anybody with a pair of red cyan glasses, but maybe there are different options to explore.

A new UI element would need to be introduced to be able to turn the effect on/off.

GSoC

This is a good exercise to understand how the slideshow works and a good opportunity to set up a Gallery development environment in preperation for GSoC

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Copied from original issue: owncloud/gallery#104

@oparoz oparoz added 10 enhancement New feature or request labels Sep 4, 2016
@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

From @madhug-nadig on March 3, 2016 2:8

Hi, I found this project interesting.
SO, the idea to convert the images into an anaglyph and then upload them as any other images?

@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

Actually, it's the opposite. Currently, 3D images (jps, mpo) are sent as-is and shown as a wide image, with the image for each eye shown side-by-side.
It should be possible to use the HTML5 canvas to split the image in 2 and colourise and merge them to create a 3D picture which can be viewed with anaglyph 3D glasses.
For performance reasons, especially on mobile, it may not be the best thing to do and a PHP solution might be better. That's for potential candidates to find out.

It's quite a small project and could be some sort of warm-up proving that the candidate is capable of working on bigger gsoc projects.
Let me know what you think.

@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

From @madhug-nadig on March 3, 2016 14:36

I found a tiny jQuery library which makes it extremely easy to convert a regular image into a 3D anaglyph. .Basic implementation.

Am I on the right track?

@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

From @prastut on March 3, 2016 15:20

Are we aiming for this?
http://3dmedia.com/gallery/displayimage.php?album=toprated&cat=0&pid=7531#top_display_media

@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

@madhug-nadig - I think that plugin turns any standard JPEG into a 3D anaglyph, but the idea is to only convert stereo JPEG images into 3D anaglyph. So the best thing to do would be to test with 3D jpegs.

@prastut - Yes. Currently Gallery shows 3D images side by side as it doesn't involve any processing, so that can stay as the normal mode, but then users should be able to see the anaglyph by pressing on a button.

So, a button that can change back and fourth between 2D and 3D, yes?

Yes, also, bear in mind when thinking about the UI that not everybody has red/blue glasses, some are yellow/blue ;)

@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

From @prastut on March 4, 2016 12:9

@oparoz I have a problem in uploading the 3D files. Since the 3D files are above 2MB, they can't be uploaded. I tried the following solutions

  • Configured the .htaccess file
  • Changed the default size of upload_max and post_max in /etc/php5/apache2/php.ini

Still no luck. From the admin view, it says you don't have permission to change the max file size.

@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

From the admin view, it says you don't have permission to change the max file size

@prastut The 2MB limit seems to be very low. For all questions related to configuring ownCloud, I invite you to look for answers on the forum since this has nothing to do with Gallery or this specific task. Make sure to post all information about your setup, config.php, etc.

@skjnldsv
Copy link
Member

skjnldsv commented Sep 3, 2019

Superseded by #540 and v1r0x/files_3d#4

@skjnldsv skjnldsv closed this as completed Sep 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants