Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

A Sampling-Agnostic Software Framework for Converting Between Texture Map Representations of Virtual Environments



Vinay Sriram, Wesley N. Griffin


We have developed a utility to both stitch cube maps into other types of texture maps (equirectangular, dual paraboloid, and octahedral), and stitch the other types of maps back into cube maps. The utility allows for flexibility in the image size of the conversion - the user can specify the desired image width, and the height is computed (cube, paraboloid, and octahedral mappings are square, and spherical maps are generated to have 16:9 aspect ratio). Moreover, the utility is sampling-agnostic, so the user can select whether to use uniform or jittered sampling over the pixels, as well as the number of samples to use per pixel. The rest of this paper discusses the mathematical framework for projecting from cube maps to equirectangular, dual paraboloid, and octahedral environment maps, as well as the mathematical framework for the inverse projections. We also describe two sampling techniques: uniform sampling and correlated multi-jittered sampling. We perform an evaluation of the sampling techniques and a comparative analysis of the different projections using objective image quality assessment metrics.
Journal of Research (NIST JRES) -


stitching, projection, cube-maps


Sriram, V. and Griffin, W. (2017), A Sampling-Agnostic Software Framework for Converting Between Texture Map Representations of Virtual Environments, Journal of Research (NIST JRES), National Institute of Standards and Technology, Gaithersburg, MD, [online],, (Accessed May 18, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created May 17, 2017, Updated October 14, 2021