Code covered by the BSD License  

Highlights from
stereoview - Ver 7.0

4.75

4.8 | 9 ratings Rate this file 19 Downloads (last 30 days) File Size: 4.61 KB File ID: #4715
image thumbnail

stereoview - Ver 7.0

by Iari-Gabriel Marino

 

05 Apr 2004 (Updated 04 Apr 2010)

Stereoview plots two stereoscopical images of any 3D plot.

| Watch this File

File Information
Description

STEREOVIEW Stereoscopic plotting function

  stereoview grabs the current 3D figure and plots it in two
  stereoscopical images.

  Once launched, you can:
  1) Choose the interocular distance coefficient (idc)
  that is defined as the ratio between the distance from the Camera
  Target and the interocular distance; a value of 30 works fine.

  2) Choose the viewing mode: 'parallel' or 'crossed'.

3) Rotate the view. In the Free Rotation mode, use:
  a, s, d, w to rotate,
  x to stop.

  4) Start a continuous rotation of the view; x to stop.

  5) Print the two stereoscopical views in separate images. You
  may change the options for the saved images directly in the .m file.

  6) choose 'perspective' or 'orthographic' view.

  Version 4.0 NEWS
  - stop of the continuous rotation with "x"
  - can print the two images

  Version 5.0 NEWS
  - can change the distance between the two
    views to allow easier visualization
  - can change zoom
  - vertical axis bending bug fixed

  Version 6.0 NEWS
  - allows chosing perspective or orthographic
  - unused commands deleted

  Version 7.0 NEWS
  - bug about viewing along z fixed
  - bug about horizontal positioning of plots fixed
  - bug about projection mode fixed
  - figure color preserved
  - renderer: zbuffer
  - figure(2) bug fixed (thanks to Andrew Murray)

----------------------------------------------------------
2010 Iari-Gabriel Marino
          <infoAToptotesys.it>
          <iari-gabriel.marinoATfis.unipr.it>
          http://www.fis.unipr.it/home/marino/
----------------------------------------------------------

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (11)
12 Oct 2004 Jos M

Does exactly what it says!

29 Apr 2005 Janik Zikovsky

Awesome! Finally, true-3d plots are possible

25 Jan 2006 Matthew Kennedy

Great job with this function. I have modified figure properties to span the figure window across a 2048x1024 desktop. Once projected through a passive polarized stereo projectors (based on the GeoWall system, www.geowall.org), I am able to achieve great results.

18 Jul 2008 Tammo Tammo

Hi, sorry I am stupid. How shall I finally view the plots ? with some special glasses ? I don't understand... thx

08 May 2009 rorame00 User

This tool is brilliant. You can view real 3D.
Is it possible to set the left figure in green and the right one in green?
I know about the "colormap([1 0 0])" for red. But that changes both graphics.
Is there a way to change the colors apart?

28 Feb 2010 Martin Acevedo  
29 Mar 2010 Iari-Gabriel Marino

For Tammo Tammo:
you need to look at the figure with parallel or crossed eyes. Look on Google.

The author

29 Mar 2010 Iari-Gabriel Marino

For rorame00 User:
It is not so simple to turn stereoview in an anaglyph-maker. I'm working on that. Please let me know if you find a good idea.

The author

20 Sep 2010 John

Very easy to use. I was using v6 but when I ran v7 it froze MATLAB for the same data (5k points scatter3). I have gone back to v6 (luckily still had it).
Future suggestion: when rotating continuously it would be better if you could update both figures together (not sure how). In my case the 5k points delays redraw of 2nd image and disrupts stereo image during the delay

13 Oct 2010 Nik F  
25 Jul 2011 Nik F

Excellent! Works tremendously well, and is particularly good in conjunction with http://www.mathworks.com/matlabcentral/fileexchange/7401 for exporting to SVG.

Please login to add a comment or rating.
Updates
14 May 2004

- An important bug fixed
- Some calculations improved

Iari-Gabriel Marino

18 May 2004

- Missing function added

Iari-Gabriel Marino

02 Nov 2006

Version 4.0 NEWS:
- stopping of the continuous rotation fixed;
- printing of the two images

03 Nov 2006

Version 5.0 NEWS
- can change the distance between the two views to allow easier visualization
- can change zoom
- vertical axis bending bug fixed

04 Apr 2010

Several bug fixed and some new features

Tag Activity for this File
Tag Applied By Date/Time
specialized Iari-Gabriel Marino 22 Oct 2008 07:17:28
plotting Iari-Gabriel Marino 22 Oct 2008 07:17:28
stereoscopy Iari-Gabriel Marino 22 Oct 2008 07:17:28
stereoscopic Iari-Gabriel Marino 22 Oct 2008 07:17:28
threedimensional Iari-Gabriel Marino 22 Oct 2008 07:17:28
3d Iari-Gabriel Marino 22 Oct 2008 07:17:28
stereo Iari-Gabriel Marino 22 Oct 2008 07:17:28
visualizatio Iari-Gabriel Marino 22 Oct 2008 07:17:28

Contact us at files@mathworks.com