Export 3D plot or Graphics3D object as stereoscopic 3D .jps file

I recently came across some Matlab code to output a 3D graph as a stereoscopic left/right .JPS file, viewable e.g. with 3D Media Viewer, Stereoscopic Player or using any 3D television or beamer:

[3D Matlab] Save Stereo 3D image

I was on the lookout for a similar function that would export any Mathematica Graphics3D object or 3D plot to .JPS (which is just a .JPG with the image for the left & right eye shown side by side but with a different extension, as in
https://commons.wikimedia.org/wiki/File:JPS-sample.jpg, i.e. a 3720 x 1080 pixel JPEG, comprised of 2 1860 x 1080 pixel images side by side).

Mathematica code to produce the two stereoscopic images for the left & right eye is given here, here and here, so the problem is only how to combine and export these as a .JPS file? Should just be a question to Rasterize[] the two images, pasting the two images next to each other in one image, saving it as a .JPEG and then renaming the extension to .JPS (or something like that) – the first and last step I know how to do, but not pasting the two images next to each other. The analogous export to 3D PNG, .PNS would be cool too.

Anybody any thoughts?




You might want to post on community.wolfram.com as well, as this site will most likely not supply anything definite on WRI’s development strategy.
– Yves Klett
Jun 19 ’15 at 8:49



OK I’ll post the question there too!
– Tom Wenseleers
Jun 19 ’15 at 8:52



You might also want to see this…
– J. M.♦
Jun 19 ’15 at 10:06



Also posted the question at community.wolfram.com/groups/-/m/t/515772?p_p_auth=ec2mHoM2
– Tom Wenseleers
Jun 19 ’15 at 10:52



@Tom I agree that the hard part of producing the projections for each eye has been essentially solved in How to create a simple cross eyed 3d plot. The rest of your question seems relatively simpler, so I would suggest closing this question as essentially a duplicated of that one.
– MarcoB
Mar 11 at 4:38