Difference between revisions of "Mipmap Generator"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
 
(2D mipmap generator)
Line 1: Line 1:
 
// brief summary goes here...
 
// brief summary goes here...
  
=2D mipmap generator=
+
==2D mipmap generator==
 
Generate mipmaps for 2D images.  
 
Generate mipmaps for 2D images.  
  
Synopsis:
+
;Synopsis:
    ./MipmapGen2D [-f format -s brickSize] imageFilename maxLevel
+
:./MipmapGen2D [-f format -s brickSize] imageFilename maxLevel
    ./MipmapGen2D [-f format -s brickSize] inputBatchFilename maxLevel [outputBatchFilename]  
+
:./MipmapGen2D [-f format -s brickSize] inputBatchFilename maxLevel [outputBatchFilename]  
  
Description:
+
;Description:
    Generate mipmaps for an image:
+
:'''Generate mipmaps for an image:'''
    Generate mipmaps for an image specified by imageFilename, from level 0 (the original image size) to the level specified by maxLevel. If the maxLevel is -1, ./MipmapGen2D generates all the mipmaps from the original image size to the biggest size smaller than the brickSize.  
+
:Generate mipmaps for an image specified by imageFilename, from level 0 (the original image size) to the level specified by maxLevel. If the maxLevel is -1, ./MipmapGen2D generates all the mipmaps from the original image size to the biggest size smaller than the brickSize.  
  
Generate mipmaps for a set of images:
+
:'''Generate mipmaps for a set of images:'''
    Generate mipmaps for a set of images listed in the inputBatchFilename, all from level 0 (the original image size) to the level specified by maxLevel.   
+
:Generate mipmaps for a set of images listed in the inputBatchFilename, all from level 0 (the original image size) to the level specified by maxLevel.   
    If outputBatchFilename is specified, ./MipmapGen2D assumes the image set is an animation, and generates a single text file which lists mipmaps for each frame and timestamps. If outputBatchFilename is not specified, it’s the same as a batch mipmaps generation. ./MipmapGen2D generates mipmaps and a text file for each image in the set, as if they are generated separately.
+
:If outputBatchFilename is specified, ./MipmapGen2D assumes the image set is an animation, and generates a single text file which lists mipmaps for each frame and timestamps. If outputBatchFilename is not specified, it’s the same as a batch mipmaps generation. ./MipmapGen2D generates mipmaps and a text file for each image in the set, as if they are generated separately.

Revision as of 16:22, 1 April 2008

// brief summary goes here...

2D mipmap generator

Generate mipmaps for 2D images.

Synopsis
./MipmapGen2D [-f format -s brickSize] imageFilename maxLevel
./MipmapGen2D [-f format -s brickSize] inputBatchFilename maxLevel [outputBatchFilename]
Description
Generate mipmaps for an image:
Generate mipmaps for an image specified by imageFilename, from level 0 (the original image size) to the level specified by maxLevel. If the maxLevel is -1, ./MipmapGen2D generates all the mipmaps from the original image size to the biggest size smaller than the brickSize.
Generate mipmaps for a set of images:
Generate mipmaps for a set of images listed in the inputBatchFilename, all from level 0 (the original image size) to the level specified by maxLevel.
If outputBatchFilename is specified, ./MipmapGen2D assumes the image set is an animation, and generates a single text file which lists mipmaps for each frame and timestamps. If outputBatchFilename is not specified, it’s the same as a batch mipmaps generation. ./MipmapGen2D generates mipmaps and a text file for each image in the set, as if they are generated separately.