Advertisement
c3d

La Joconde - Prado + Louvre = Stereoscopy?

c3d
May 5th, 2014
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.23 KB | None | 0 0
  1. // Display pictures of Louvre and Prado copies of La Joconde in stereoscopy
  2. // This is intended to let you figure out by yourself if they are two
  3. // images of a stereoscopic pair.
  4. //
  5. // This file is intended to run with Tao Presentations (http://www.taodyne.com)
  6. // using any of the supported stereoscopic display modes
  7. // (http://www.taodyne.com/shop/dev/en/blog/119-real-depth-for-real-fun).
  8. //
  9. // You should tweak the parameters marked "TWEAK ME" below
  10. //
  11.  
  12. import StereoDecoder
  13. import BlackAndWhiteThemes
  14.  
  15. theme "WhiteOnBlack"
  16.  
  17. IMAGE -> "http://www.eteignezvotreordinateur.com/wp-content/uploads/2012/02/joconde.jpg"
  18.  
  19. base_slide "La Joconde",
  20.     color "white"
  21.     scale 1.3
  22.     mouse_x
  23.  
  24.     stereo_viewpoints 2#101010101010,
  25.         texture IMAGE
  26.         texture_transform
  27.             // TWEAK ME - Horizontal position of second pair
  28.             translate_x 0.54
  29.             scale 0.5, 1.00, 1.0
  30.  
  31.         // TWEAK ME: Color balance for second picture
  32.         color "#CCBB99"
  33.         rectangle 0.5*texture_width, texture_height
  34.  
  35.     stereo_viewpoints 2#010101010101,
  36.         texture IMAGE
  37.         texture_transform
  38.             translate_x 0.0
  39.             scale_x 0.5
  40.         rectangle 0.5*texture_width, texture_height
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement