EXRENVMAP(1)

✨ EXRENVMAP(1) β€” General Commands Manual ✨

ok so bestie, welcome to the exrenvmap page πŸ’– this is from the General Commands Manual section of the Unix world, and it's lowkey the glow-up tool for OpenEXR environment maps. let's get into it πŸ¦‹


🌸 NAME 🌸

exrenvmap β€” for creating OpenEXR environment maps. that's it, that's the whole job description, and she ate πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

exrenvmap [options] infile outfile

πŸ’– DESCRIPTION πŸ’–

okay so real talk: this manual page is a lil quickie β€” it documents the exrenvmap command briefly, no cap. and here's the tea πŸ“: this page was written for the Debian distribution because the original program literally does not have a manual page. so we're all just out here doing our best πŸ™ˆ

but what does it actually do? exrenvmap converts OpenEXR latitude-longitude environment maps into cube-face environment maps β€” or the other way around, if that's more your vibe. both directions, main character energy, periodt ✨


πŸ’… OPTIONS πŸ’…

one bullet per flag, all of them, no skipping, we don't do that here πŸ‘‘

  • -o β€” produces a ONE_LEVEL output file (this is the default, so she's the baseline babe)
  • -m β€” produces a MIPMAP_LEVELS output file (mipmaps!! obsessed 🧚)
  • -c β€” the output file will be a cube-face environment map (default, she's the moment)
  • -l β€” the output file will be a latitude-longitude environment map
  • -w x β€” sets the width of the output image to x pixels (default is 256). and the height? the height of the output image will be x*6 pixels for a cube-face map, or x/2 pixels for a latitude-longitude map. math is math 🫢
  • -f r n β€” sets the antialiasing filter radius to r (default is 1.0) and the sampling rate to n by n (default is 5 by 5). increasing r makes the output image blurrier; decreasing r makes the image sharper but may cause aliasing 😭. increasing n improves antialiasing, but generating the output image takes longer. tradeoffs, bestie, tradeoffs πŸ’€
  • -t x y β€” sets the output file's tile size to x by y pixels (default is 64 by 64)
  • -p t b β€” if the input image is a latitude-longitude map, pad the image at the top and bottom with t*h and b*h extra scan lines, where h is the height of the input image. this is useful for images from 360-degree panoramic scans that cover less than 180 degrees vertically 🌈
  • -d β€” sets level size rounding to ROUND_DOWN (default)
  • -u β€” sets level size rounding to ROUND_UP
  • -z x β€” sets the data compression method to x (none/rle/zip/piz/pxr24, default is zip)
  • -v β€” verbose mode (she talks a lot, we love her for it πŸ’œ)
  • -h β€” prints these options
ngl bestie, if you forget all of this, just run -h and let the tool remind you. iconic behaviour honestly πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Andrew Lau <netsnipe@users.sourceforge.net>, for the Debian GNU/Linux system β€” but may be used by others, because sharing is caring 🫢


and that's the whole page, bestie!! πŸ’– this one was from March 31, 2004 (a vintage queen, truly), part of the EXRENVMAP(1) page in the General Commands Manual. go make some environment maps, you've got this ✨🌸πŸ’