Print at Dec 18, 2025, 4:13:15 PM
Posted by qythyx at Oct 10, 2017, 1:35:53 PM
Generating 360 degree stereoscopic images
I've been playing around with generating 360 degree stereoscopic images for use with my Google Cardboard (other VR devices should work too). Basically what I do is generate two spherical image that are offset by 6cm, one for the left eye and one for the right. This are works pretty well, but I've noticed a problem.

The problem is that when viewed in the forward direction the 3d effect is perfect, but if you turn around to look behind then it is broken. This makes sense, because looking forward the left image is offset to the left and the right to the right, but looking behind things are reversed so left is offset to the right and vise-versa.

My question is, is there anyway to generate images that don't have this problem? Doing some searching I found this article. It says, "We rotate the cameras about their common pivot point..." in regards to the left and right image. I believe that's the problem I'm having. Currently when the spherical image is rendered it's rotating around the virtual visitor's center point, but with the scene viewed from a single eye in the center of the visitor. What I believe needs to happen is that the spherical view is rendered from a virtual eye on the left or right of the person yet still rotating around the center of the person.

If my supposition is correct, then the question is, is it possible to change the renderer to do this?

Anyone have any experience or thoughts on this?


Thanks.

Posted by FDpaffie at Oct 10, 2017, 3:26:27 PM
Re: Generating 360 degree stereoscopic images
I use Spherical Photo-rendering 8192x4096 and use name that end with _360 example minephoto_360.jpg

and finely i ad the metadata on the jpeg file info as shown in picture in the link
https://www.mediafire.com/convkey/b8d1/7wxw4ee96sjnh6n6g.jpg

it work on mine cardboard and oculusVR it displays correct on Facebook as-well
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by qythyx at Oct 10, 2017, 3:58:33 PM
Re: Generating 360 degree stereoscopic images
Do you generate two images, one for each eye, or just a single image?

I agree it works fine as a 360 panorama, but when trying to combine two images is where I have problems.

Posted by FDpaffie at Oct 10, 2017, 4:20:03 PM
Re: Generating 360 degree stereoscopic images
a single image .u find your self in the center of the image and can look in any direction
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by FDpaffie at Oct 10, 2017, 4:33:26 PM
Re: Generating 360 degree stereoscopic images
Try this image ,unpack it and put it where u normal put your files to view in headset

http://www.mediafire.com/file/70tdf6194rxamxv...192x4096_Sphercal_360.rar
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by qythyx at Oct 11, 2017, 10:33:53 AM
Re: Generating 360 degree stereoscopic images
Thanks for the example. I think I wasn't clear. I'm able to create 360 panoramas fine, and view them. The problem is that I want to create stereoscopic 360 panorama. Those are made from two images, one for the left eye and one for the right. Having this gives depth to the image so you can tell what's further away and what's closer. Here's an example I make, but it has the problem that I described in my first post.

When you look towards the window it's fine, but if you look at the corner of the bed platform it's off a bit, and it's even worse if you look at the hanging chair.

To generate these images correctly the SH3D renderer would need to render spherical images slightly differently than it does now.

Posted by FDpaffie at Oct 11, 2017, 4:52:34 PM
Re: Generating 360 degree stereoscopic images
I have googled stereoscopic views but is not so easy .
i think moving the virtual visitor 6cm to the left or the right is the best way in SH3d to generate 2 pictures ,but you already tried that
so i cant help you


maybe the results of search can help you further ;
Sterioscopic 360panoramas

youtube vids
https://www.youtube.com/watch?v=AgW5stbchz8


Urls
https://code.blender.org/2015/03/1451/
https://www.360cities.net/help/stereo_panos
https://www.reddit.com/r/GearVR/comments/6fy12u/digitizing_stereoscopic_photos/
http://sideloadvr.com/detail.php?id=53
https://forums.geforce.com/default/topic/3568...-photo-creating-software/


prorgams
Gimp
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by qythyx at Oct 12, 2017, 4:56:10 AM
Re: Generating 360 degree stereoscopic images
So, I managed to hack together a fix. I added two new camera types to Sunflow, the raytracer used to generate the images. They are "Spherical Left" and "Spherical Right". They're very similar to the default spherical camera, but as they render the image the adjust the eye position accordingly.

The code change for this was actually quite simple, it just took me a while to find the right place to make the change. Still, not bad for a few hours work.

Here is an example using these new cameras. This seems to fix the problem and now gives good depth perception in all directions.

Next I need to:

  • Confirm the correct distance between eyes. I used 6, but in Sunflow I'm not sure of the unit. Is that 6 cm, or 6 what? In my SW3D plan I use cm, but I'm not sure what that is in Sunflow. Using 6 seems to work ok, but if someone else uses inches I want to make sure that works too. Also I should make this configurable in preferences or something.
  • My changes work for the builtin image render UI, but they don't work for the plugins that give more control over rendering. The problem is that the drop down box that lists the camera doesn't include my new cameras in those plugin windows. I need to fix this.
  • Figure out how to submit my changes to SH3D code base so everyone can take advantage of them.
  • Ideally I'd like to make this simpler to use. Currently you need to render the image twice, once with the left camera and once with the right. That's annoying. It would be better if that was automated so that it rendered both automatically and saved both.


Posted by FDpaffie at Oct 12, 2017, 4:16:42 PM
Re: Generating 360 degree stereoscopic images
wow you done quiet a job there
Am looking forward to your work and hope you fix it ,am not in java programing it all , if i look at the code it looks like it came from outerspace ..lol

i use samsungVR to view mine mono360 pictures, stereo pictures bi displayed as images up/down _TB, Images left/right _TBS and displayed as 3dv

i was satisfied with the mono360 i used, made about 400 of them
but now you came up with stereoscopic Pictures ..lol now i want to experience the deference between mono and stereo

The technic of stereoscopic_photos predates VR, previous century i do believe

For start I am new at this Stereoscopic thingy ,but i have done some experiments white Stereoscopic imaging ,
i edited the Pictures left one of them untouched, the second one i cutout a pice from the left side and pasted to the right side of the Picture and finally i placed the edited picture on top of the untouched, one now we have a stereoscopic one .. but its a experiment i miss the extra depth

Again i added some downloads for you 1 a movie from the mono360 picture as i experience it in Oculus headset and 2 the ST pictures i made with a bonus a original i found on the net

http://www.mediafire.com/file/lmbn6i6lmcko77g/Video_for_Becky_360_8AM.rar
http://www.mediafire.com/file/23m2o3yub1ut4ij/Becky_8AM_STPano_Test_360.rar
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by walidbmf22 at Oct 20, 2018, 12:40:07 AM
Re: Generating 360 degree stereoscopic images
hello everybody im just a newbies trying to modify my real house i would like some help building a step by step method to create 360° pictures to share with my architect ???
can anyone help please

Posted by ojaillet at Jan 15, 2019, 9:51:32 PM
Re: Generating 360 degree stereoscopic images
Hello everybody,

I also want to do a spherical photo to export to Google Photo and view my picture with a VR cardboard. The problem is that the photo is not recognized as "360" degree.
We must add metadata with tools like Exif Pilot for example, but it's messy and the result is not convincing. Google Photo detects me although my photo is in 360 ° but the display gives me a curious result. it's like my photo 360 ° is in 180 ° front and blurred 180 ° behind ... not easy to explain.

Is there a simple tool to turn these photos into 360 ° format ?

Besides, I do not understand why this fonctionnality is missing in SW3D!! Why we can not export from Sweet Home 3D directly in 360 ° with these metadata !! It would still be so so so much easier!!

Posted by FDpaffie at Jan 15, 2019, 10:16:57 PM
Re: Generating 360 degree stereoscopic images
Exif Fixer 3.1.4.0 - a tool for the 360 Facebook and Google communities

Exif Fixer
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by FDpaffie at Jan 15, 2019, 10:21:12 PM
Re: Generating 360 degree stereoscopic images
or put it in Manuel , shown in picture , in mine first reply
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by ojaillet at Jan 16, 2019, 12:00:29 AM
Re: Generating 360 degree stereoscopic images
Thank you for your quick answer !
I'll try "Exif Fixer" (your picture is unreadable on my screen because the resolution is too low I think !)

Posted by ojaillet at Jan 16, 2019, 12:30:19 AM
Re: Generating 360 degree stereoscopic images
With "Exif Fixer" I have exactely the same problem than I had with "Exif pilot".

In fact the problem is that on Google Photo on my PC the picture is OK (360°) , but on both of my smartphone the same photo on Google Photo the picture is correct only on 180° in front, but the other 180° at the back is completely blur ! It's really strange !...

Posted by FDpaffie at Jan 16, 2019, 7:07:54 PM
Re: Generating 360 degree stereoscopic images
I have prepared some downloads for you, so you can view them on your pc and your cardboard
all files are .rar file to persevere there data

Info on how to generate a 360 or Spherical image with SH3D

The file info to add to your mono spherical image in .JPG format

Here is a original photo taken with the Samsung-Gear-360-VR-CAMERA-SM-C200
This photo must show correct in cardboard if u look down u can see partly the tripod where the cam is mounted on
It is the house i am building
SAM_101_0141

Here is a picture generated as Spherical image with SH3D same room and same position , in the end when i am finisht with building it
would look like this
Woonkamer_keuken_8192x4096_Sphercal_360
You can copy the file info (details) or ( metadata ) in to your own creations

A Picture from mine Samsung-Gear-360-VR


Both the mono Spherical images are tested and working On SamsungGalayS7edge and working on sites as Facebook, The viewer

(constructor) ,Vtime ,VBR foto
----------------------------------------
To Draw or not to Draw ...... Thats nolonger a question .. We draw

Posted by Jonnie63 at Apr 21, 2019, 8:11:54 PM
Re: Generating 360 degree stereoscopic images
@qythyx

Hi, this is something that interests me a lot.

It sounds to me as if you are doing the right thing and distortion in the peripheral vision is likely to be fairly low, I am assuming here that the methodology amounts to a rotating slit aperture.

I have never used Google Cardboard but it seems from comments here that it is possible to load one spherical image to one eye and another to the other eye?

Did you get any further with your plans?

My reasoning at this stage is that I really want to be able to view my design in VR mode with visual and perspective accuracy.

Commerical systems that render in real time are expensive and require full kit on your head whereas the spherical image method is going to require a lot less memory, CPU/GPU and work fine with a decent smart phone.

It seems to me to be a good payoff - to be confined to location X or location Y giving up on the opportunity to walk through every point between X and Y but quite possibly having better image quality since the hard computation work is done once for a fixed point rather than only the fly rendering for an arbitrary point.

For a while I produced photograph virtual tours using KRPANO, I have not visited it for ages, I suspected things might have moved on and indeed they have....

https://krpano.com/krpanocloud/webvr/?v=119pr15


Interesting leads to WebVR

https://webvr.info/


This does make me thing that if you can have a virtual VR tour even if it is limited to discrete viewing points but can move between those points and still look all around at any point then you have 90% of what you could possibly want.

I only tried a VR system once ( this Xmas ) visiting relatives, I pretty much confined myself to discrete point viewing because I was in a small room and worried about tripping up anyway !!!

Posted by Jonnie63 at Apr 22, 2019, 12:31:49 AM
Re: Generating 360 degree stereoscopic images
Update: I downloaded the Google cardboard app on my wife's phone ( mine has no gyroscope, Google rejects it )
and visited the Indian temple which is on the left menu panel of the KRPANO virtual tour. Seemed to be reasonably
good for a sense of scale - my Goggles are kind of mid-range cheap - they have adjustment for lens separation distance
and also for distance of screen from eyes - messing around with these improved matters a little and I will look into the QR
code feature that informs your browser what corrections to apply for the particular lenses in your head gear.

Also useful for assessing how well a low end set up might show an interior....

https://vizor.io/nationalgallery/sainsbury-wing/

The tour above did not offer an option for low end goggles, I just ignored the choices and entered the tour - seemed to work although I was unable to press virtual buttons.

The Krpano tour in contrast activated a button if you looked at it for longer than a certain period which worked fine.

Some confusions on this thread already regards what we mean by VR - to clarify the KRPANO tours on the left menu panel (once
tour started) and the UK national gallery tour can all be viewed in stereoscopic (visual depth) mode. Some "mono" spherical "360" tours are offered for goggle viewers but the same view goes to both eyes so there is no depth perception.

Posted by Jonnie63 at Apr 22, 2019, 1:29:49 PM
Re: Generating 360 degree stereoscopic images
Update2:

Some interesting readings, still digesting it myself as I am new to some aspects and rusty on others...

http://www.realitypixels.com/turk/quicktimevr/fisheye.html

http://paulbourke.net/stereographics/stereopanoramic/ outlines vertical slice

And finally

http://paulbourke.net/stereographics/povcameras/ detailing L,R cameras implemented for POV