Home - VolumeRC/AtlasConversionScripts GitHub Wiki

Atlas Conversion Scripts

Introduction

This repository contains some scripts to help converting a 3D volume texture into a WebGL compatible 2D atlas.

Scripts

The scripts are dependant on the input volume data type.

Output

For each conversion an atlas at full resolution is created. As 2D texture memory is limited in GPUs, the script will also generate scaled versions of the atlas when possible, with resolutions of 8192x8192, 4096x4096, 2048x2048 and 1024x1024. If the Scipy library is installed it will also generate a gradient atlas at those resolutions.

Visualization

You can interactively visualize the generated atlas with a WebGL compatible browser using the Volume Rendering component of the X3DOM framework. A brief overview of how to create a basic volume rendering scene using the created atlas can be found here.