STEREO3D(1)

✨ NAME ✨

stereo3d β€” render a Raster3D scene as a side-by-side stereo pair πŸŽ€


πŸ’… SYNOPSIS

stereo3d [options] [-png  [outfile.png ]] < infile.r3d > outfile.png
stereo3d [options]  -tiff [outfile.tiff]  < infile.r3d > outfile.tiff

okay so bestie, stereo3d is a shell script, and what it does is take one single Raster3D input file and render it as a side-by-side stereo pair. that's the whole vibe. πŸ‘‘

under the hood it's pulling in the Raster3D utilities normal3d and render, plus the ImageMagick image processing package. it also makes intermediate scratch files, and those land in the directory TMPDIR if that's defined, otherwise in /usr/tmp. πŸ—‚οΈ

the right eye and left eye views get rendered separately, optionally get handed black borders, and then get merged into one single side-by-side stereo pair. iconic behavior honestly. πŸ¦‹

input comes from stdin, and output goes to stdout β€” unless you hand it a filename as an argument to the -png or -tiff options. then it goes there instead. periodt. πŸ’–


🌸 EXAMPLES 🌸

so like, if this line would render a single image:

render -tiff single.tiff < input.r3d

then this line would render that exact same scene as a stereo pair instead:

stereo3d -tiff stereo.tiff < input.r3d

literally just that. slay. ✨


πŸŽ€ OPTIONS πŸŽ€

the options below are the ones that are specific to stereo3d. every other option β€” like -labels, or -gamma 1.2 β€” gets passed straight through to the render program. iykyk. πŸ’«

  • -angsep β€” by default the stereo effect is generated by a shear operation. the -angsep option instead creates the stereo by using angular separation. and ngl bestie, neither option is perfect: the default handles shadows badly, and the -angsep option blurs specular highlights. pick your fighter. 😭
  • -border β€” by default the left and right images get placed right next to each other with no intervening space and no frame around them. the -border option requests a 4 pixel wide black border that separates and surrounds the component images. cute little frame. πŸ–ΌοΈ

🌈 SOURCE 🌈

web URL:

http://www.bmsc.washington.edu/raster3d/raster3d.html

contact:

Ethan A Merritt
University of Washington, Seattle WA 98195
merritt@washington.edu

πŸ‘€ SEE ALSO πŸ‘€

normal3d(l), render(l), raster3d(l)


πŸ’– AUTHORS πŸ’–

Ethan A Merritt.


Raster3D Β· 19 Dec 2010 β€” that's the version and date bestie, take it in, and that's a wrap on STEREO3D(1). go make something stereoscopic, you're doing amazing sweetie πŸ«ΆπŸŒΈπŸ’œ